hotspot/src/share/vm/gc_implementation/g1/concurrentMark.cpp
changeset 3184 b92e28cc020b
parent 3182 2ec0cb2496b8
child 3261 c7d5aae8d3f7
child 3262 30d1c247fc25
equal deleted inserted replaced
3183:530fbafc4aa7 3184:b92e28cc020b
  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       }