提交 0808a4ac 编写于 作者: A aph

8241296: Segfault in JNIHandleBlock::oops_do()

Reviewed-by: stefank, shade
上级 d10fa2b3
......@@ -867,7 +867,9 @@ bool Thread::claim_oops_do_par_case(int strong_roots_parity) {
}
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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册