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

changeset 7048
ff3169f25621
parent 7045
18bf0b66de52
child 7049
eec72fa4b108
     1.1 --- a/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp	Mon Aug 18 15:41:57 2014 +0200
     1.2 +++ b/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp	Tue Apr 01 07:46:51 2014 +0200
     1.3 @@ -7109,13 +7109,13 @@
     1.4      if (hr->is_young()) {
     1.5        // TODO
     1.6      } else if (hr->startsHumongous()) {
     1.7 -      assert(hr->containing_set() == _humongous_set, err_msg("Heap region %u is starts humongous but not in humongous set.", hr->region_num()));
     1.8 +      assert(hr->containing_set() == _humongous_set, err_msg("Heap region %u is starts humongous but not in humongous set.", hr->hrs_index()));
     1.9        _humongous_count.increment(1u, hr->capacity());
    1.10      } else if (hr->is_empty()) {
    1.11 -      assert(hr->containing_set() == _free_list, err_msg("Heap region %u is empty but not on the free list.", hr->region_num()));
    1.12 +      assert(hr->containing_set() == _free_list, err_msg("Heap region %u is empty but not on the free list.", hr->hrs_index()));
    1.13        _free_count.increment(1u, hr->capacity());
    1.14      } else {
    1.15 -      assert(hr->containing_set() == _old_set, err_msg("Heap region %u is old but not in the old set.", hr->region_num()));
    1.16 +      assert(hr->containing_set() == _old_set, err_msg("Heap region %u is old but not in the old set.", hr->hrs_index()));
    1.17        _old_count.increment(1u, hr->capacity());
    1.18      }
    1.19      return false;

mercurial