src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/CompiledVFrame.java
changeset 48240 e9ad230ea455
parent 48113 af9e4669ca18
equal deleted inserted replaced
48239:8067e9cba973 48240:e9ad230ea455
   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());