src/hotspot/os/posix/os_posix.hpp
changeset 52460 f1bb77833b59
parent 51989 7ac0ac1e57b6
child 52585 f7f90fddce02
equal deleted inserted replaced
52459:cbe83e9c2100 52460:f1bb77833b59
   127 
   127 
   128   static bool supports_monotonic_clock() { return false; }
   128   static bool supports_monotonic_clock() { return false; }
   129 
   129 
   130 #endif
   130 #endif
   131 };
   131 };
   132 
       
   133 // On POSIX platforms the signal handler is global so we just do the write.
       
   134 static void write_memory_serialize_page_with_handler(JavaThread* thread) {
       
   135   write_memory_serialize_page(thread);
       
   136 }
       
   137 
   132 
   138 /*
   133 /*
   139  * Crash protection for the watcher thread. Wrap the callback
   134  * Crash protection for the watcher thread. Wrap the callback
   140  * with a sigsetjmp and in case of a SIGSEGV/SIGBUS we siglongjmp
   135  * with a sigsetjmp and in case of a SIGSEGV/SIGBUS we siglongjmp
   141  * back.
   136  * back.