8155819: Support non-continuous CodeBlobs in HotSpot broke Zero
Summary: Adjust to CompiledMethod changes.
Reviewed-by: coleenp, rbackman
--- a/hotspot/src/cpu/zero/vm/frame_zero.cpp Mon May 02 17:58:42 2016 +0200
+++ b/hotspot/src/cpu/zero/vm/frame_zero.cpp Mon May 02 13:39:52 2016 +0200
@@ -360,7 +360,7 @@
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)",