src/share/vm/runtime/thread.cpp

changeset 9676
bf1c9a3312a4
parent 9417
65409bcab2ad
child 9703
2fdf635bcf28
child 9850
8f2780b3e4fa
child 9858
b985cbb00e68
equal deleted inserted replaced
9675:894c78fcb2ea 9676:bf1c9a3312a4
1308 void WatcherThread::run() { 1308 void WatcherThread::run() {
1309 assert(this == watcher_thread(), "just checking"); 1309 assert(this == watcher_thread(), "just checking");
1310 1310
1311 this->record_stack_base_and_size(); 1311 this->record_stack_base_and_size();
1312 this->initialize_thread_local_storage(); 1312 this->initialize_thread_local_storage();
1313 this->set_native_thread_name(this->name());
1313 this->set_active_handles(JNIHandleBlock::allocate_block()); 1314 this->set_active_handles(JNIHandleBlock::allocate_block());
1314 while(!_should_terminate) { 1315 while(!_should_terminate) {
1315 assert(watcher_thread() == Thread::current(), "thread consistency check"); 1316 assert(watcher_thread() == Thread::current(), "thread consistency check");
1316 assert(watcher_thread() == this, "thread consistency check"); 1317 assert(watcher_thread() == this, "thread consistency check");
1317 1318

mercurial