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:
Thomas Stuefe 2014-10-13 22:11:39 +02:00 committed by Staffan Larsen
parent c5dbe0cf46
commit 51866388d1
5 changed files with 40 additions and 4 deletions

View file

@ -241,6 +241,7 @@ void VMThread::run() {
assert(this == vm_thread(), "check");
this->initialize_thread_local_storage();
this->set_native_thread_name(this->name());
this->record_stack_base_and_size();
// Notify_lock wait checks on active_handles() to rewait in
// case of spurious wakeup, it should wait on the last