src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/Oop.java
changeset 50525 767cdb97f103
parent 48113 af9e4669ca18
equal deleted inserted replaced
50524:04f4e983c2f7 50525:767cdb97f103
   162   public static void printOopValueOn(Oop obj, PrintStream tty) {
   162   public static void printOopValueOn(Oop obj, PrintStream tty) {
   163     if (obj == null) {
   163     if (obj == null) {
   164       tty.print("null");
   164       tty.print("null");
   165     } else {
   165     } else {
   166       obj.printValueOn(tty);
   166       obj.printValueOn(tty);
   167       tty.print(" @ " + obj.getHandle());
   167       tty.print(" @ " + VM.getVM().getUniverse().heap().oopAddressDescription(obj.getHandle()));
   168     }
   168     }
   169   }
   169   }
   170 
   170 
   171   public static void printOopAddressOn(Oop obj, PrintStream tty) {
   171   public static void printOopAddressOn(Oop obj, PrintStream tty) {
   172     if (obj == null) {
   172     if (obj == null) {