hotspot/src/share/vm/runtime/vmThread.cpp
changeset 27164 6523fa019ffa
parent 24424 2658d7834c6e
child 28163 322d55d167be
equal deleted inserted replaced
27163:66521b7ba8d6 27164:6523fa019ffa
   239 
   239 
   240 void VMThread::run() {
   240 void VMThread::run() {
   241   assert(this == vm_thread(), "check");
   241   assert(this == vm_thread(), "check");
   242 
   242 
   243   this->initialize_thread_local_storage();
   243   this->initialize_thread_local_storage();
       
   244   this->set_native_thread_name(this->name());
   244   this->record_stack_base_and_size();
   245   this->record_stack_base_and_size();
   245   // Notify_lock wait checks on active_handles() to rewait in
   246   // Notify_lock wait checks on active_handles() to rewait in
   246   // case of spurious wakeup, it should wait on the last
   247   // case of spurious wakeup, it should wait on the last
   247   // value set prior to the notify
   248   // value set prior to the notify
   248   this->set_active_handles(JNIHandleBlock::allocate_block());
   249   this->set_active_handles(JNIHandleBlock::allocate_block());