src/share/vm/runtime/thread.cpp

changeset 9703
2fdf635bcf28
parent 9466
0d85d1b001bb
parent 9676
bf1c9a3312a4
child 9852
70aa912cebe5
equal deleted inserted replaced
9647:42d198677884 9703:2fdf635bcf28
1314 void WatcherThread::run() { 1314 void WatcherThread::run() {
1315 assert(this == watcher_thread(), "just checking"); 1315 assert(this == watcher_thread(), "just checking");
1316 1316
1317 this->record_stack_base_and_size(); 1317 this->record_stack_base_and_size();
1318 this->initialize_thread_local_storage(); 1318 this->initialize_thread_local_storage();
1319 this->set_native_thread_name(this->name());
1319 this->set_active_handles(JNIHandleBlock::allocate_block()); 1320 this->set_active_handles(JNIHandleBlock::allocate_block());
1320 while(!_should_terminate) { 1321 while(!_should_terminate) {
1321 assert(watcher_thread() == Thread::current(), "thread consistency check"); 1322 assert(watcher_thread() == Thread::current(), "thread consistency check");
1322 assert(watcher_thread() == this, "thread consistency check"); 1323 assert(watcher_thread() == this, "thread consistency check");
1323 1324

mercurial