hg: hsx/hotspot-gc/hotspot: 7050392: G1: Introduce flag to generate a log of the G1 ergonomic decisions

tony.printezis at oracle.com tony.printezis at oracle.com
Wed Sep 7 13:07:47 PDT 2011


Changeset: 20213c8a3c40
Author:    tonyp
Date:      2011-09-07 12:21 -0400
URL:       http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/20213c8a3c40

7050392: G1: Introduce flag to generate a log of the G1 ergonomic decisions
Summary: It introduces ergonomic decision logging in G1 for the following heuristics: heap sizing, collection set construction, concurrent cycle initiation, and partially-young GC start/end. The code has a bit of refactoring in a few places to make the decision logging possible. It also replaces alternative ad-hoc logging that we have under different parameters and switches (G1_DEBUG, G1PolicyVerbose).
Reviewed-by: johnc, ysr

! src/share/vm/gc_implementation/g1/collectionSetChooser.cpp
! src/share/vm/gc_implementation/g1/concurrentMark.cpp
! 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/g1ErgoVerbose.cpp
+ src/share/vm/gc_implementation/g1/g1ErgoVerbose.hpp
! src/share/vm/gc_implementation/g1/g1MMUTracker.cpp
! src/share/vm/gc_implementation/g1/vm_operations_g1.cpp



More information about the hotspot-gc-dev mailing list