mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8008340: [sampling] assert(upper->pc_offset() >= pc_offset) failed: sanity
Reviewed-by: kvn, sla
This commit is contained in:
parent
f85789e68a
commit
1a74b23a2f
2 changed files with 11 additions and 0 deletions
|
@ -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
|
// Entry frame checks
|
||||||
if (is_entry_frame()) {
|
if (is_entry_frame()) {
|
||||||
// an entry frame must have a valid fp.
|
// an entry frame must have a valid fp.
|
||||||
|
|
|
@ -91,6 +91,12 @@ bool frame::safe_for_sender(JavaThread *thread) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Could just be some random pointer within the codeBlob
|
||||||
|
if (!_cb->code_contains(_pc)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
// Entry frame checks
|
// Entry frame checks
|
||||||
if (is_entry_frame()) {
|
if (is_entry_frame()) {
|
||||||
// an entry frame must have a valid fp.
|
// an entry frame must have a valid fp.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue