< prev index next >

src/os/solaris/vm/osThread_solaris.cpp

Print this page
rev 8802 : G1 performance improvements: card batching, joining, sorting, prefetching and write barrier fence elision and simplification based on a global syncrhonization using handshakes piggybacking on thread-local safepoints.


  34 
  35  // ***************************************************************
  36  // Platform dependent initialization and cleanup
  37  // ***************************************************************
  38 
  39 void OSThread::pd_initialize() {
  40   _thread_id                         = 0;
  41   sigemptyset(&_caller_sigmask);
  42 
  43   _vm_created_thread                 = false;
  44 }
  45 
  46 void OSThread::pd_destroy() {
  47 }
  48 
  49 // copied from synchronizer.cpp
  50 
  51 void OSThread::SR_handler(Thread* thread, ucontext_t* uc) {
  52   os::Solaris::SR_handler(thread, uc);
  53 }







  34 
  35  // ***************************************************************
  36  // Platform dependent initialization and cleanup
  37  // ***************************************************************
  38 
  39 void OSThread::pd_initialize() {
  40   _thread_id                         = 0;
  41   sigemptyset(&_caller_sigmask);
  42 
  43   _vm_created_thread                 = false;
  44 }
  45 
  46 void OSThread::pd_destroy() {
  47 }
  48 
  49 // copied from synchronizer.cpp
  50 
  51 void OSThread::SR_handler(Thread* thread, ucontext_t* uc) {
  52   os::Solaris::SR_handler(thread, uc);
  53 }
  54 
  55 bool OSThread::is_online() {
  56   // TODO: Solaris can do better: find out if a thread is ONPROC.
  57   return true;
  58 }
< prev index next >