test/hotspot/gtest/threadHelper.inline.hpp
changeset 54623 1126f0607c70
parent 54416 b788c494aa46
child 59325 3636bab5e81e
equal deleted inserted replaced
54622:a8dcacf95bff 54623:1126f0607c70
   103     {
   103     {
   104       MutexLocker ml(Threads_lock);
   104       MutexLocker ml(Threads_lock);
   105       Threads::add(this);
   105       Threads::add(this);
   106     }
   106     }
   107     {
   107     {
   108       MutexLockerEx ml(SR_lock(), Mutex::_no_safepoint_check_flag);
   108       MutexLocker ml(SR_lock(), Mutex::_no_safepoint_check_flag);
   109     }
   109     }
   110   }
   110   }
   111 
   111 
   112   virtual void main_run() = 0;
   112   virtual void main_run() = 0;
   113 
   113