hotspot/src/share/vm/services/heapDumper.cpp
changeset 8726 7bafcf0e5bfb
parent 8295 a2b2a8a3aaee
child 9630 d6419e4395e3
--- a/hotspot/src/share/vm/services/heapDumper.cpp	Fri Mar 18 16:00:34 2011 -0700
+++ b/hotspot/src/share/vm/services/heapDumper.cpp	Mon Mar 21 14:06:50 2011 -0700
@@ -832,7 +832,7 @@
 
       // value
       int offset = fld.offset();
-      address addr = (address)k + offset;
+      address addr = (address)ikh->java_mirror() + offset;
 
       dump_field_value(writer, sig->byte_at(0), addr);
     }