src/hotspot/os/windows/os_windows.inline.hpp
changeset 51106 f605c91e5219
parent 50199 83d8b3a25f25
child 52508 bbbcd90f0adb
equal deleted inserted replaced
51105:c6600aba799b 51106:f605c91e5219
    55 
    55 
    56 inline bool os::must_commit_stack_guard_pages() {
    56 inline bool os::must_commit_stack_guard_pages() {
    57   return true;
    57   return true;
    58 }
    58 }
    59 
    59 
    60 inline int os::readdir_buf_size(const char *path)
       
    61 {
       
    62   /* As Windows doesn't use the directory entry buffer passed to
       
    63      os::readdir() this can be as short as possible */
       
    64 
       
    65   return 1;
       
    66 }
       
    67 
       
    68 // Bang the shadow pages if they need to be touched to be mapped.
    60 // Bang the shadow pages if they need to be touched to be mapped.
    69 inline void os::map_stack_shadow_pages(address sp) {
    61 inline void os::map_stack_shadow_pages(address sp) {
    70   // Write to each page of our new frame to force OS mapping.
    62   // Write to each page of our new frame to force OS mapping.
    71   // If we decrement stack pointer more than one page
    63   // If we decrement stack pointer more than one page
    72   // the OS may not map an intervening page into our space
    64   // the OS may not map an intervening page into our space