@@ -64,11 +64,11 @@ RegionData* data, size_t size, size_t free) { size_t threshold = ShenandoahHeapRegion::region_size_bytes() * ShenandoahGarbageThreshold / 100; for (size_t idx = 0; idx < size; idx++) { - ShenandoahHeapRegion* r = data[idx]._region; + ShenandoahHeapRegion* r = data[idx].get_region(); if (r->garbage() > threshold) { cset->add_region(r); } } }