mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
7102541: RFE: os::set_native_thread_name() cleanups
Implement os::set_native_thread_name() on windows, linux Reviewed-by: sla, ctornqvi, simonis
This commit is contained in:
parent
c5dbe0cf46
commit
51866388d1
5 changed files with 40 additions and 4 deletions
|
@ -1287,6 +1287,7 @@ void WatcherThread::run() {
|
|||
|
||||
this->record_stack_base_and_size();
|
||||
this->initialize_thread_local_storage();
|
||||
this->set_native_thread_name(this->name());
|
||||
this->set_active_handles(JNIHandleBlock::allocate_block());
|
||||
while (!_should_terminate) {
|
||||
assert(watcher_thread() == Thread::current(), "thread consistency check");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue