Print this page


@@ -220,10 +220,11 @@
   HeapRegion* next_region_in_heap(const HeapRegion* r) const;
   // Apply blk->doHeapRegion() on all committed regions in address order,
   // terminating the iteration early if doHeapRegion() returns true.
   void iterate(HeapRegionClosure* blk) const;
+  void iterate_range(HeapRegionClosure* blk, uint start, uint end) const;
   void par_iterate(HeapRegionClosure* blk, uint worker_id, uint no_of_par_workers, jint claim_value) const;
   // Uncommit up to num_regions_to_remove regions that are completely free.
   // Return the actual number of uncommitted regions.