提交 6232ef0b 编写于 作者: R rbackman

8008340: [sampling] assert(upper->pc_offset() >= pc_offset) failed: sanity

Reviewed-by: kvn, sla
上级 60cdfe90
......@@ -216,6 +216,11 @@ bool frame::safe_for_sender(JavaThread *thread) {
}
}
// Could just be some random pointer within the codeBlob
if (!_cb->code_contains(_pc)) {
return false;
}
// Entry frame checks
if (is_entry_frame()) {
// an entry frame must have a valid fp.
......
......@@ -91,6 +91,12 @@ bool frame::safe_for_sender(JavaThread *thread) {
return false;
}
}
// Could just be some random pointer within the codeBlob
if (!_cb->code_contains(_pc)) {
return false;
}
// Entry frame checks
if (is_entry_frame()) {
// an entry frame must have a valid fp.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册