提交 12c40aa8 编写于 作者: A aph

8241296: Segfault in JNIHandleBlock::oops_do()

Reviewed-by: andrew
上级 e7827fcd
...@@ -836,7 +836,9 @@ bool Thread::claim_oops_do_par_case(int strong_roots_parity) { ...@@ -836,7 +836,9 @@ bool Thread::claim_oops_do_par_case(int strong_roots_parity) {
} }
void Thread::oops_do(OopClosure* f, CLDClosure* cld_f, CodeBlobClosure* cf) { void Thread::oops_do(OopClosure* f, CLDClosure* cld_f, CodeBlobClosure* cf) {
active_handles()->oops_do(f); if (active_handles() != NULL) {
active_handles()->oops_do(f);
}
// Do oop for ThreadShadow // Do oop for ThreadShadow
f->do_oop((oop*)&_pending_exception); f->do_oop((oop*)&_pending_exception);
handle_area()->oops_do(f); handle_area()->oops_do(f);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册