8066803: compiler/intrinsics/mathexact/SubExactINonConstantTest.java crashed in os::is_first_C_frame(frame*)
Stop native stack walk when we get to compiled or stub frame. Reviewed-by: hseigel, lfoltan, ctornqvi
This commit is contained in:
parent
bb30bd7e0a
commit
4250926e07
@ -89,8 +89,8 @@ int os::get_native_stack(address* stack, int frames, int toSkip) {
|
||||
} else {
|
||||
stack[frame_idx ++] = fr.pc();
|
||||
}
|
||||
if (fr.fp() == NULL || os::is_first_C_frame(&fr)
|
||||
||fr.sender_pc() == NULL || fr.cb() != NULL) break;
|
||||
if (fr.fp() == NULL || fr.cb() != NULL ||
|
||||
fr.sender_pc() == NULL || os::is_first_C_frame(&fr)) break;
|
||||
|
||||
if (fr.sender_pc() && !os::is_first_C_frame(&fr)) {
|
||||
fr = os::get_sender_for_C_frame(&fr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user