Skip to content
Permalink
Browse files
8241296: Segfault in JNIHandleBlock::oops_do()
Reviewed-by: stefank
  • Loading branch information
Andrew Haley committed Mar 19, 2020
1 parent 136a157 commit 34ae46e2bca691f989d4d84129baf545ff8a7469
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/hotspot/share/runtime/thread.cpp
@@ -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);

0 comments on commit 34ae46e

Please sign in to comment.