Skip to content

Commit

Permalink
8241296: Segfault in JNIHandleBlock::oops_do()
Browse files Browse the repository at this point in the history
Reviewed-by: stefank
  • Loading branch information
Andrew Haley committed Mar 19, 2020
1 parent 136a157 commit 34ae46e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/hotspot/share/runtime/thread.cpp
Expand Up @@ -888,7 +888,9 @@ bool Thread::claim_par_threads_do(uintx claim_token) {
}

void Thread::oops_do(OopClosure* f, CodeBlobClosure* cf) {
active_handles()->oops_do(f);
if (active_handles() != NULL) {
active_handles()->oops_do(f);
}
// Do oop for ThreadShadow
f->do_oop((oop*)&_pending_exception);
handle_area()->oops_do(f);
Expand Down

0 comments on commit 34ae46e

Please sign in to comment.