< prev index next >

src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/InterpretedVFrame.java

Print this page
*** 111,11 ***
    public List<MonitorInfo> getMonitors() {
      List<MonitorInfo> result = new ArrayList<>(5);
      for (BasicObjectLock current = getFrame().interpreterFrameMonitorEnd();
           current.address().lessThan(getFrame().interpreterFrameMonitorBegin().address());
           current = getFrame().nextMonitorInInterpreterFrame(current)) {
!       result.add(new MonitorInfo(current.obj(), current.lock(), false, false));
      }
      return result;
    }
  
    /** Test operation */
--- 111,11 ---
    public List<MonitorInfo> getMonitors() {
      List<MonitorInfo> result = new ArrayList<>(5);
      for (BasicObjectLock current = getFrame().interpreterFrameMonitorEnd();
           current.address().lessThan(getFrame().interpreterFrameMonitorBegin().address());
           current = getFrame().nextMonitorInInterpreterFrame(current)) {
!       result.add(new MonitorInfo(current.obj(), false, false));
      }
      return result;
    }
  
    /** Test operation */
< prev index next >