< prev index next >

src/os/linux/vm/osThread_linux.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.


  30 
  31 void OSThread::pd_initialize() {
  32   assert(this != NULL, "check");
  33   _thread_id        = 0;
  34   _pthread_id       = 0;
  35   _siginfo = NULL;
  36   _ucontext = NULL;
  37   _expanding_stack = 0;
  38   _alt_sig_stack = NULL;
  39 
  40   sigemptyset(&_caller_sigmask);
  41 
  42   _startThread_lock = new Monitor(Mutex::event, "startThread_lock", true,
  43                                   Monitor::_safepoint_check_never);
  44   assert(_startThread_lock !=NULL, "check");
  45 }
  46 
  47 void OSThread::pd_destroy() {
  48   delete _startThread_lock;
  49 }






  30 
  31 void OSThread::pd_initialize() {
  32   assert(this != NULL, "check");
  33   _thread_id        = 0;
  34   _pthread_id       = 0;
  35   _siginfo = NULL;
  36   _ucontext = NULL;
  37   _expanding_stack = 0;
  38   _alt_sig_stack = NULL;
  39 
  40   sigemptyset(&_caller_sigmask);
  41 
  42   _startThread_lock = new Monitor(Mutex::event, "startThread_lock", true,
  43                                   Monitor::_safepoint_check_never);
  44   assert(_startThread_lock !=NULL, "check");
  45 }
  46 
  47 void OSThread::pd_destroy() {
  48   delete _startThread_lock;
  49 }
  50 
  51 bool OSThread::is_online() {
  52   return true;
  53 }
< prev index next >