hg: jdk7/hotspot-gc/hotspot: 7011855: G1: non-product flag to artificially grow the heap

tony.printezis at oracle.com tony.printezis at oracle.com
Wed Apr 20 02:43:37 UTC 2011


Changeset: 49a67202bc67
Author:    tonyp
Date:      2011-04-19 15:46 -0400
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/49a67202bc67

7011855: G1: non-product flag to artificially grow the heap
Summary: It introduces non-product cmd line parameter G1DummyRegionsPerGC which indicates how many "dummy" regions to allocate at the end of each GC. This allows the G1 heap to grow artificially and makes concurrent marking cycles more frequent irrespective of what the application that is running is doing. The dummy regions will be found totally empty during cleanup so this parameter can also be used to stress the concurrent cleanup operation.
Reviewed-by: brutisso, johnc

! src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp
! src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp
! src/share/vm/gc_implementation/g1/g1_globals.hpp




More information about the hotspot-gc-dev mailing list