hotspot/src/os/windows/vm/os_windows.inline.hpp
changeset 35212 7a6d0993a080
parent 35201 996db89f378e
child 35479 62c12ca7a45e
equal deleted inserted replaced
35209:b2f409087683 35212:7a6d0993a080
    48 inline bool os::obsolete_option(const JavaVMOption *option) {
    48 inline bool os::obsolete_option(const JavaVMOption *option) {
    49   return false;
    49   return false;
    50 }
    50 }
    51 
    51 
    52 inline bool os::uses_stack_guard_pages() {
    52 inline bool os::uses_stack_guard_pages() {
    53   return os::win32::is_nt();
    53   return true;
    54 }
    54 }
    55 
    55 
    56 inline bool os::allocate_stack_guard_pages() {
    56 inline bool os::allocate_stack_guard_pages() {
    57   assert(uses_stack_guard_pages(), "sanity check");
       
    58   return true;
    57   return true;
    59 }
    58 }
    60 
    59 
    61 inline int os::readdir_buf_size(const char *path)
    60 inline int os::readdir_buf_size(const char *path)
    62 {
    61 {
    96 inline int os::close(int fd) {
    95 inline int os::close(int fd) {
    97   return ::close(fd);
    96   return ::close(fd);
    98 }
    97 }
    99 
    98 
   100 inline bool os::supports_monotonic_clock() {
    99 inline bool os::supports_monotonic_clock() {
   101   return win32::_has_performance_count;
   100   return true;
   102 }
   101 }
   103 
   102 
   104 inline void os::exit(int num) {
   103 inline void os::exit(int num) {
   105   win32::exit_process_or_thread(win32::EPT_PROCESS, num);
   104   win32::exit_process_or_thread(win32::EPT_PROCESS, num);
   106 }
   105 }