comparison src/share/vm/gc_implementation/g1/concurrentMark.cpp @ 831:3eb9872b10ce

6855115: G1: Fix for 6850869 is incorrect Summary: Missed updating two variable names when improving the code for 6850869. Reviewed-by: iveresov, jmasa, ysr
author tonyp
date Mon, 29 Jun 2009 12:17:03 -0400
parents 30b9b25b9cc1
children bd02caa94611 df6caf649ff7
comparison
equal deleted inserted replaced
830:00f7ec32f290 831: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 }