< prev index next >

src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/Mark.java

Print this page
*** 146,16 ***
    // They must get updated if markWord layout get changed.
  
    public boolean hasLocker() {
      return ((value() & lockMaskInPlace) == lockedValue);
    }
-   public BasicLock locker() {
-     if (Assert.ASSERTS_ENABLED) {
-       Assert.that(hasLocker(), "check");
-     }
-     return new BasicLock(valueAsAddress());
-   }
    public boolean hasMonitor() {
      return ((value() & monitorValue) != 0);
    }
    public ObjectMonitor monitor() {
      if (Assert.ASSERTS_ENABLED) {
--- 146,10 ---
< prev index next >