8155819: Support non-continuous CodeBlobs in HotSpot broke Zero
Adjust to CompiledMethod changes. Reviewed-by: coleenp, rbackman
This commit is contained in:
parent
56d3ee3dbc
commit
a0fa7abd14
@ -360,7 +360,7 @@ void SharkFrame::identify_word(int frame_index,
|
||||
case pc_off:
|
||||
strncpy(fieldbuf, "pc", buflen);
|
||||
if (method()->is_method()) {
|
||||
nmethod *code = method()->code();
|
||||
CompiledMethod *code = method()->code();
|
||||
if (code && code->pc_desc_at(pc())) {
|
||||
SimpleScopeDesc ssd(code, pc());
|
||||
snprintf(valuebuf, buflen, PTR_FORMAT " (bci %d)",
|
||||
|
Loading…
Reference in New Issue
Block a user