< prev index next >
src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/Oop.java
Print this page
rev 48258 : Patch from Stephan
*** 162,172 ****
public static void printOopValueOn(Oop obj, PrintStream tty) {
if (obj == null) {
tty.print("null");
} else {
obj.printValueOn(tty);
! tty.print(" @ " + obj.getHandle());
}
}
public static void printOopAddressOn(Oop obj, PrintStream tty) {
if (obj == null) {
--- 162,172 ----
public static void printOopValueOn(Oop obj, PrintStream tty) {
if (obj == null) {
tty.print("null");
} else {
obj.printValueOn(tty);
! tty.print(" @ " + VM.getVM().getUniverse().heap().oopAddressDescription(obj.getHandle()));
}
}
public static void printOopAddressOn(Oop obj, PrintStream tty) {
if (obj == null) {
< prev index next >