< prev index next >

src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/ObjectHeap.java

Print this page

        

*** 32,41 **** --- 32,42 ---- import java.util.*; import sun.jvm.hotspot.debugger.*; import sun.jvm.hotspot.gc.cms.*; import sun.jvm.hotspot.gc.shared.*; + import sun.jvm.hotspot.gc.epsilon.*; import sun.jvm.hotspot.gc.g1.*; import sun.jvm.hotspot.gc.parallel.*; import sun.jvm.hotspot.memory.*; import sun.jvm.hotspot.runtime.*; import sun.jvm.hotspot.types.*;
*** 436,445 **** --- 437,449 ---- PSOldGen oldGen = psh.oldGen(); addLiveRegions("old ", oldGen.objectSpace().getLiveRegions(), liveRegions); } else if (heap instanceof G1CollectedHeap) { G1CollectedHeap g1h = (G1CollectedHeap) heap; g1h.heapRegionIterate(lrc); + } else if (heap instanceof EpsilonHeap) { + EpsilonHeap eh = (EpsilonHeap) heap; + liveRegions.add(eh.space()); } else { if (Assert.ASSERTS_ENABLED) { Assert.that(false, "Expecting GenCollectedHeap, G1CollectedHeap, " + "or ParallelScavengeHeap, but got " + heap.getClass().getName());
< prev index next >