src/share/vm/gc_implementation/g1/g1MMUTracker.cpp

changeset 1717
b81f3572f355
parent 1523
3fc996d4edd2
child 1907
c18cbe5936b8
child 1946
f16f1d7893de
     1.1 --- a/src/share/vm/gc_implementation/g1/g1MMUTracker.cpp	Tue Feb 16 14:11:44 2010 -0800
     1.2 +++ b/src/share/vm/gc_implementation/g1/g1MMUTracker.cpp	Tue Feb 23 23:13:23 2010 -0500
     1.3 @@ -88,13 +88,13 @@
     1.4      //     the time slice than what's allowed)
     1.5      //   consolidate the two entries with the minimum gap between them
     1.6      //     (this might allow less GC time than what's allowed)
     1.7 -    guarantee(NOT_PRODUCT(ScavengeALot ||) G1ForgetfulMMUTracker,
     1.8 -              "array full, currently we can't recover unless +G1ForgetfulMMUTracker");
     1.9 +    guarantee(NOT_PRODUCT(ScavengeALot ||) G1UseFixedWindowMMUTracker,
    1.10 +              "array full, currently we can't recover unless +G1UseFixedWindowMMUTracker");
    1.11      // In the case where ScavengeALot is true, such overflow is not
    1.12      // uncommon; in such cases, we can, without much loss of precision
    1.13      // or performance (we are GC'ing most of the time anyway!),
    1.14      // simply overwrite the oldest entry in the tracker: this
    1.15 -    // is also the behaviour when G1ForgetfulMMUTracker is enabled.
    1.16 +    // is also the behaviour when G1UseFixedWindowMMUTracker is enabled.
    1.17      _head_index = trim_index(_head_index + 1);
    1.18      assert(_head_index == _tail_index, "Because we have a full circular buffer");
    1.19      _tail_index = trim_index(_tail_index + 1);

mercurial