src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/CompiledVFrame.java
changeset 48301 32f13c6c1bbd
parent 48113 af9e4669ca18
equal deleted inserted replaced
48300:8a5edac3d5a2 48301:32f13c6c1bbd
   126     return result;
   126     return result;
   127   }
   127   }
   128 
   128 
   129   /** Returns List<MonitorInfo> */
   129   /** Returns List<MonitorInfo> */
   130   public List<MonitorInfo> getMonitors() {
   130   public List<MonitorInfo> getMonitors() {
       
   131     if (getScope() == null) {
       
   132       return new ArrayList<>();
       
   133     }
   131     List monitors = getScope().getMonitors();
   134     List monitors = getScope().getMonitors();
   132     if (monitors == null) {
   135     if (monitors == null) {
   133       return new ArrayList<>();
   136       return new ArrayList<>();
   134     }
   137     }
   135     List<MonitorInfo> result = new ArrayList<>(monitors.size());
   138     List<MonitorInfo> result = new ArrayList<>(monitors.size());