8199813: SIGSEGV in ThreadsList::includes()

ThreadsListHandles cannot be used by JavaThreads that are not on the Threads list.

Reviewed-by: eosterlund, gthornbr, dholmes, rehn
This commit is contained in:
Daniel D. Daugherty 2018-03-28 12:04:33 -04:00
parent 7995d17bca
commit d2e9c712ad
5 changed files with 31 additions and 15 deletions

View file

@ -417,7 +417,7 @@ ThreadSnapshot* VM_ThreadDump::snapshot_thread(JavaThread* java_thread, ThreadCo
}
volatile bool VM_Exit::_vm_exited = false;
Thread * VM_Exit::_shutdown_thread = NULL;
Thread * volatile VM_Exit::_shutdown_thread = NULL;
int VM_Exit::set_vm_exited() {