8212173: Thread._stack_base/_stack_size initialized too late for new threads

Reviewed-by: dholmes, simonis
This commit is contained in:
Thomas Stuefe 2018-10-19 09:39:29 +02:00
parent 67d76fe937
commit e4f51809e4
26 changed files with 146 additions and 184 deletions

View file

@ -243,7 +243,7 @@ void VMThread::run() {
assert(this == vm_thread(), "check");
this->initialize_named_thread();
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
// value set prior to the notify