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

changeset 6404
96b1c2e06e25
parent 6403
d7070f371770
child 6407
ae7336d6337e
     1.1 --- a/src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp	Mon Mar 24 15:30:30 2014 +0100
     1.2 +++ b/src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp	Mon Mar 24 15:30:36 2014 +0100
     1.3 @@ -731,7 +731,8 @@
     1.4  
     1.5  void OtherRegionsTable::clear_fcc() {
     1.6    uint hrs_idx = hr()->hrs_index();
     1.7 -  for (uint i = 0; i < HeapRegionRemSet::num_par_rem_sets(); i++) {
     1.8 +  uint num_par_remsets = HeapRegionRemSet::num_par_rem_sets();
     1.9 +  for (uint i = 0; i < num_par_remsets; i++) {
    1.10      _from_card_cache[i][hrs_idx] = -1;
    1.11    }
    1.12  }

mercurial