# HG changeset patch # User drwhite # Date 1445451216 14400 # Node ID e230df0ac7514c32ad7b7cd9d84cda5d84aac944 # Parent 5d42601232b19c6df353debe09de071c6281c007 8140251: Define the G1 term MMU somewhere in the source code. Summary: (MINOR) Simple comment fix to define Minimum Mutator Utilization (MMU) Reviewed-by: jwilhelm diff -r 5d42601232b1 -r e230df0ac751 hotspot/src/share/vm/gc/g1/g1MMUTracker.hpp --- a/hotspot/src/share/vm/gc/g1/g1MMUTracker.hpp Fri Oct 23 14:33:19 2015 +0300 +++ b/hotspot/src/share/vm/gc/g1/g1MMUTracker.hpp Wed Oct 21 14:13:36 2015 -0400 @@ -29,11 +29,23 @@ #include "memory/allocation.hpp" #include "utilities/debug.hpp" -// Keeps track of the GC work and decides when it is OK to do GC work +// Two major user controls over G1 behavior are setting a pause time goal (MaxGCPauseMillis), +// over a time slice (GCPauseIntervalMillis). This defines the Minimum Mutator +// Utilisation (MMU) goal. +// +// * Definitions * +// Mutator Utilisation: +// - for a given time slice duration "ts", +// - mutator utilisation is the following fraction: +// non_gc_time / ts +// +// Minimum Mutator Utilisation (MMU): +// - the worst mutator utilisation across all time slices. +// +// G1MMUTracker keeps track of the GC work and decides when it is OK to do GC work // and for how long so that the MMU invariants are maintained. - -/***** ALL TIMES ARE IN SECS!!!!!!! *****/ - +// +// ***** ALL TIMES ARE IN SECS!!!!!!! ***** // this is the "interface" class G1MMUTracker: public CHeapObj { protected: