agent/src/share/classes/sun/jvm/hotspot/tools/HeapSummary.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/agent/src/share/classes/sun/jvm/hotspot/tools/HeapSummary.java	Tue Feb 11 11:34:03 2014
--- new/agent/src/share/classes/sun/jvm/hotspot/tools/HeapSummary.java	Tue Feb 11 11:34:03 2014

*** 112,122 **** --- 112,123 ---- G1MonitoringSupport g1mm = g1h.g1mm(); long edenRegionNum = g1mm.edenRegionNum(); long survivorRegionNum = g1mm.survivorRegionNum(); HeapRegionSetBase oldSet = g1h.oldSet(); HeapRegionSetBase humongousSet = g1h.humongousSet(); ! long oldRegionNum = oldSet.regionNum() + humongousSet.regionNum(); ! long oldRegionNum = oldSet.count().length() + + humongousSet.count().capacity() / HeapRegion.grainBytes(); printG1Space("G1 Heap:", g1h.n_regions(), g1h.used(), g1h.capacity()); System.out.println("G1 Young Generation:"); printG1Space("Eden Space:", edenRegionNum, g1mm.edenUsed(), g1mm.edenCommitted());

agent/src/share/classes/sun/jvm/hotspot/tools/HeapSummary.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File