hg: jdk7/hotspot-gc/hotspot: 6797870: Add -XX:+{HeapDump, PrintClassHistogram}{Before, After}FullGC

y.s.ramakrishna at sun.com y.s.ramakrishna at sun.com
Mon Mar 2 19:18:50 PST 2009


Changeset: c6c601a0f2d6
Author:    ysr
Date:      2009-03-02 16:37 -0800
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/c6c601a0f2d6

6797870: Add -XX:+{HeapDump,PrintClassHistogram}{Before,After}FullGC
Summary: Call newly created CollectedHeap::dump_{pre,post}_full_gc before and after every stop-world full collection cycle on GenCollectedHeap and ParallelScavengeHeap. (Support for G1CollectedHeap forthcoming under CR 6810861.) Small modifications to existing heap dumping and class histogram implementation, especially to allow multiple on-the-fly histos/dumps by the VM thread during a single safepoint.
Reviewed-by: jmasa, alanb, mchung

! src/share/vm/gc_implementation/parallelScavenge/psMarkSweep.cpp
! src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp
! src/share/vm/gc_implementation/shared/vmGCOperations.cpp
! src/share/vm/gc_implementation/shared/vmGCOperations.hpp
! src/share/vm/gc_interface/collectedHeap.cpp
! src/share/vm/gc_interface/collectedHeap.hpp
! src/share/vm/includeDB_gc
! src/share/vm/memory/genCollectedHeap.cpp
! src/share/vm/memory/heapInspection.cpp
! src/share/vm/memory/heapInspection.hpp
! src/share/vm/runtime/globals.hpp
! src/share/vm/runtime/os.cpp
! src/share/vm/services/attachListener.cpp
! src/share/vm/services/heapDumper.cpp
! src/share/vm/services/heapDumper.hpp




More information about the hotspot-gc-dev mailing list