# HG changeset patch # User acorn # Date 1237207853 14400 # Node ID f73ef83db2ab62552915efda8fe63aeb4bb1c2bd # Parent a25c5ec5e40e07733d1ff9898a0abe36159288ff# Parent 51ebd610829bebb1cc0f2e22836425ff0677bbb5 Merge diff -r a25c5ec5e40e -r f73ef83db2ab hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/VM.java --- a/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/VM.java Wed Jul 05 16:49:07 2017 +0200 +++ b/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/VM.java Mon Mar 16 08:50:53 2009 -0400 @@ -342,11 +342,13 @@ throw new RuntimeException("Attempt to initialize VM twice"); } soleInstance = new VM(db, debugger, debugger.getMachineDescription().isBigEndian()); - debugger.putHeapConst(Universe.getHeapBase(), soleInstance.getHeapOopSize(), - soleInstance.logMinObjAlignmentInBytes); + 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 */