equal
deleted
inserted
replaced
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()); |