Merge
authorstefank
Fri, 20 Feb 2015 15:47:22 +0000
changeset 29205 c2fa06b633b3
parent 29204 b0f8f3c6ceec (current diff)
parent 29202 bcce9add4235 (diff)
child 29206 b16546c98e0a
Merge
--- a/hotspot/agent/src/share/classes/sun/jvm/hotspot/memory/GenCollectedHeap.java	Fri Feb 20 15:23:01 2015 +0100
+++ b/hotspot/agent/src/share/classes/sun/jvm/hotspot/memory/GenCollectedHeap.java	Fri Feb 20 15:47:22 2015 +0000
@@ -76,9 +76,9 @@
 
     switch (i) {
     case 0:
-      return genFactory.newObject(youngGenField.getAddress());
+      return genFactory.newObject(youngGenField.getValue(addr));
     case 1:
-      return genFactory.newObject(oldGenField.getAddress());
+      return genFactory.newObject(oldGenField.getValue(addr));
     default:
       // no generation for i, and assertions disabled.
       return null;