changeset 48301 | 32f13c6c1bbd |
parent 48113 | af9e4669ca18 |
--- a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/CompiledVFrame.java Mon Dec 04 23:55:52 2017 +0100 +++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/CompiledVFrame.java Mon Dec 04 10:23:08 2017 +0900 @@ -128,6 +128,9 @@ /** Returns List<MonitorInfo> */ public List<MonitorInfo> getMonitors() { + if (getScope() == null) { + return new ArrayList<>(); + } List monitors = getScope().getMonitors(); if (monitors == null) { return new ArrayList<>();