src/os/windows/vm/os_windows.inline.hpp

changeset 9711
0f2fe7d37d8c
parent 6911
ce8f6bb717c9
child 9756
2be326848943
equal deleted inserted replaced
9710:5d306df084eb 9711:0f2fe7d37d8c
63 inline bool os::allocate_stack_guard_pages() { 63 inline bool os::allocate_stack_guard_pages() {
64 assert(uses_stack_guard_pages(), "sanity check"); 64 assert(uses_stack_guard_pages(), "sanity check");
65 return true; 65 return true;
66 } 66 }
67 67
68 inline int os::readdir_buf_size(const char *path)
69 {
70 /* As Windows doesn't use the directory entry buffer passed to
71 os::readdir() this can be as short as possible */
72
73 return 1;
74 }
75
76 // Bang the shadow pages if they need to be touched to be mapped. 68 // Bang the shadow pages if they need to be touched to be mapped.
77 inline void os::bang_stack_shadow_pages() { 69 inline void os::bang_stack_shadow_pages() {
78 // Write to each page of our new frame to force OS mapping. 70 // Write to each page of our new frame to force OS mapping.
79 // If we decrement stack pointer more than one page 71 // If we decrement stack pointer more than one page
80 // the OS may not map an intervening page into our space 72 // the OS may not map an intervening page into our space

mercurial