diff agent/src/share/classes/sun/jvm/hotspot/runtime/VM.java @ 655:60bfce711da4

Merge
author acorn
date Mon, 23 Mar 2009 10:42:20 -0400
parents 54782a4cd321 660978a2a31a
children f30ba3b36599
line wrap: on
line diff
--- a/agent/src/share/classes/sun/jvm/hotspot/runtime/VM.java	Fri Mar 20 22:08:48 2009 -0400
+++ b/agent/src/share/classes/sun/jvm/hotspot/runtime/VM.java	Mon Mar 23 10:42:20 2009 -0400
@@ -342,13 +342,12 @@
       throw new RuntimeException("Attempt to initialize VM twice");
     }
     soleInstance = new VM(db, debugger, debugger.getMachineDescription().isBigEndian());
-
+    debugger.putHeapConst(soleInstance.getHeapOopSize(), Universe.getNarrowOopBase(),
+                          Universe.getNarrowOopShift());
     for (Iterator iter = vmInitializedObservers.iterator(); iter.hasNext(); ) {
       ((Observer) iter.next()).update(null, null);
     }
 
-    debugger.putHeapConst(Universe.getHeapBase(), soleInstance.getHeapOopSize(),
-                        soleInstance.logMinObjAlignmentInBytes);
   }
 
   /** This is used by the debugging system */