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

@ -705,6 +705,8 @@ static void *thread_native_entry(Thread *thread) {
}
}
assert(osthread->pthread_id() != 0, "pthread_id was not set as expected");
// call one more level start routine
thread->call_run();