< prev index next >

src/share/vm/runtime/os.cpp

Print this page
rev 7555 : imported patch 8067469-g1-ignores-alwayspretouch
rev 7556 : [mq]: david-erik-review

*** 1588,1598 **** return res; } void os::pretouch_memory(char* start, char* end) { for (volatile char *p = start; p < end; p += os::vm_page_size()) { ! char t = *p; *p = t; } } char* os::map_memory(int fd, const char* file_name, size_t file_offset, char *addr, size_t bytes, bool read_only, --- 1588,1598 ---- return res; } void os::pretouch_memory(char* start, char* end) { for (volatile char *p = start; p < end; p += os::vm_page_size()) { ! *p = 0; } } char* os::map_memory(int fd, const char* file_name, size_t file_offset, char *addr, size_t bytes, bool read_only,
< prev index next >