8214097: Rework thread initialization and teardown logic

Reviewed-by: rehn, mgronlun, dcubed, kbarrett
This commit is contained in:
David Holmes 2018-12-27 21:17:11 -05:00
parent 575f633a96
commit 526f854cc1
10 changed files with 184 additions and 66 deletions

View file

@ -285,8 +285,6 @@ void VMThread::destroy() {
void VMThread::run() {
assert(this == vm_thread(), "check");
this->initialize_named_thread();
// Notify_lock wait checks on active_handles() to rewait in
// case of spurious wakeup, it should wait on the last
// value set prior to the notify