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

changeset 1266
3eb9872b10ce
parent 1264
30b9b25b9cc1
child 1279
bd02caa94611
child 1280
df6caf649ff7
equal deleted inserted replaced
1265:00f7ec32f290 1266:3eb9872b10ce
1254 // this based on the metadata itself, and not the region 1254 // this based on the metadata itself, and not the region
1255 // contents, so that this code is not aware of what goes into 1255 // contents, so that this code is not aware of what goes into
1256 // the humongous regions (in case this changes in the future). 1256 // the humongous regions (in case this changes in the future).
1257 G1CollectedHeap* g1h = G1CollectedHeap::heap(); 1257 G1CollectedHeap* g1h = G1CollectedHeap::heap();
1258 size_t end_index = index + 1; 1258 size_t end_index = index + 1;
1259 while (index < g1h->n_regions()) { 1259 while (end_index < g1h->n_regions()) {
1260 HeapRegion* chr = g1h->region_at(index); 1260 HeapRegion* chr = g1h->region_at(end_index);
1261 if (!chr->continuesHumongous()) { 1261 if (!chr->continuesHumongous()) {
1262 break; 1262 break;
1263 } 1263 }
1264 end_index += 1; 1264 end_index += 1;
1265 } 1265 }

mercurial