src/hotspot/share/gc/g1/heapRegionManager.hpp
changeset 48969 7eb296a8ce2c
parent 48890 f9884e190f2b
child 51332 c25572739e7c
equal deleted inserted replaced
48893:454518b338b0 48969:7eb296a8ce2c
   234   // Allocate the regions that contain the address range specified, committing the
   234   // Allocate the regions that contain the address range specified, committing the
   235   // regions if necessary. Return false if any of the regions is already committed
   235   // regions if necessary. Return false if any of the regions is already committed
   236   // and not free, and return the number of regions newly committed in commit_count.
   236   // and not free, and return the number of regions newly committed in commit_count.
   237   bool allocate_containing_regions(MemRegion range, size_t* commit_count, WorkGang* pretouch_workers);
   237   bool allocate_containing_regions(MemRegion range, size_t* commit_count, WorkGang* pretouch_workers);
   238 
   238 
   239   // Apply blk->doHeapRegion() on all committed regions in address order,
   239   // Apply blk->do_heap_region() on all committed regions in address order,
   240   // terminating the iteration early if doHeapRegion() returns true.
   240   // terminating the iteration early if do_heap_region() returns true.
   241   void iterate(HeapRegionClosure* blk) const;
   241   void iterate(HeapRegionClosure* blk) const;
   242 
   242 
   243   void par_iterate(HeapRegionClosure* blk, HeapRegionClaimer* hrclaimer, const uint start_index) const;
   243   void par_iterate(HeapRegionClosure* blk, HeapRegionClaimer* hrclaimer, const uint start_index) const;
   244 
   244 
   245   // Uncommit up to num_regions_to_remove regions that are completely free.
   245   // Uncommit up to num_regions_to_remove regions that are completely free.