equal
deleted
inserted
replaced
1285 void WatcherThread::run() { |
1285 void WatcherThread::run() { |
1286 assert(this == watcher_thread(), "just checking"); |
1286 assert(this == watcher_thread(), "just checking"); |
1287 |
1287 |
1288 this->record_stack_base_and_size(); |
1288 this->record_stack_base_and_size(); |
1289 this->initialize_thread_local_storage(); |
1289 this->initialize_thread_local_storage(); |
|
1290 this->set_native_thread_name(this->name()); |
1290 this->set_active_handles(JNIHandleBlock::allocate_block()); |
1291 this->set_active_handles(JNIHandleBlock::allocate_block()); |
1291 while (!_should_terminate) { |
1292 while (!_should_terminate) { |
1292 assert(watcher_thread() == Thread::current(), "thread consistency check"); |
1293 assert(watcher_thread() == Thread::current(), "thread consistency check"); |
1293 assert(watcher_thread() == this, "thread consistency check"); |
1294 assert(watcher_thread() == this, "thread consistency check"); |
1294 |
1295 |