hg: hsx/hotspot-gc/hotspot: 7096030: G1: PrintGCDetails enhancements; ...

john.cuthbertson at oracle.com john.cuthbertson at oracle.com
Mon Oct 24 09:11:52 UTC 2011

Changeset: c6a6e936dc68
Author:    johnc
Date:      2011-10-23 23:06 -0700
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/c6a6e936dc68

7096030: G1: PrintGCDetails enhancements
7102445: G1: Unnecessary Resource allocations during RSet scanning
Summary: Add a new per-worker thread line in the PrintGCDetails output. GC Worker Other is the difference between the elapsed time for the parallel phase of the evacuation pause and the sum of the times of the sub-phases (external root scanning, mark stack scanning, RSet updating, RSet scanning, object copying, and termination) for that worker. During RSet scanning, stack allocate DirtyCardToOopClosure objects; allocating these in a resource area was causing abnormally high GC Worker Other times while the worker thread freed ResourceArea chunks.
Reviewed-by: tonyp, jwilhelm, brutisso

! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp
! src/share/vm/gc_implementation/g1/g1CollectorPolicy.cpp
! src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp
! src/share/vm/gc_implementation/g1/g1RemSet.cpp
! src/share/vm/gc_implementation/g1/heapRegion.cpp
! src/share/vm/gc_implementation/g1/heapRegion.hpp

More information about the hotspot-gc-dev mailing list