< prev index next > src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/CompressedKlassPointers.java
Print this page
public static long getBase() {
if (baseField.getValue() == null) {
return 0;
} else {
return baseField.getValue().minus(null);
}
}
public static int getShift() {
! return (int)shiftField.getValue();
}
}
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 >