< prev index next >

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

Print this page
*** 67,13 ***
  
    public static long getBase() {
      if (baseField.getValue() == null) {
        return 0;
      } else {
        return baseField.getValue().minus(null);
      }
    }
  
    public static int getShift() {
!     return (int)shiftField.getValue();
    }
  }
--- 67,16 ---
  
    public static long getBase() {
      if (baseField.getValue() == null) {
        return 0;
      } else {
+         System.out.println("base: " + baseField.getValue().minus(null));
        return baseField.getValue().minus(null);
      }
    }
  
    public static int getShift() {
! 
+       System.out.println("shift: " + (int)shiftField.getValue());
+       return (int)shiftField.getValue();
    }
  }
< prev index next >