--- old/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/ui/classbrowser/HTMLGenerator.java 2017-08-31 23:35:14.885984965 +0900 +++ new/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/ui/classbrowser/HTMLGenerator.java 2017-08-31 23:35:14.786985517 +0900 @@ -34,6 +34,7 @@ import sun.jvm.hotspot.oops.*; import sun.jvm.hotspot.runtime.*; import sun.jvm.hotspot.tools.jcore.*; +import sun.jvm.hotspot.types.*; import sun.jvm.hotspot.utilities.*; public class HTMLGenerator implements /* imports */ ClassConstants { @@ -1928,11 +1929,16 @@ } if (!method.isStatic() && !method.isNative()) { - OopHandle oopHandle = vf.getLocals().oopHandleAt(0); + try { + OopHandle oopHandle = vf.getLocals().oopHandleAt(0); - if (oopHandle != null) { - buf.append(", oop = "); - buf.append(oopHandle.toString()); + if (oopHandle != null) { + buf.append(", oop = "); + buf.append(oopHandle.toString()); + } + } catch (WrongTypeException e) { + // Do nothing. + // It might be caused by JIT'ed inline frame. } }