src/share/vm/gc/g1/g1CollectedHeap.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
hotspot Cdiff src/share/vm/gc/g1/g1CollectedHeap.hpp
src/share/vm/gc/g1/g1CollectedHeap.hpp
Print this page
*** 1188,1197 ****
--- 1188,1199 ----
object_iterate(cl);
}
// Iterate over heap regions, in address order, terminating the
// iteration early if the "doHeapRegion" method returns "true".
+ void heap_region_iterate(AbortableHeapRegionClosure* blk) const;
+
void heap_region_iterate(HeapRegionClosure* blk) const;
// Return the region with the given index. It assumes the index is valid.
inline HeapRegion* region_at(uint index) const;
*** 1211,1220 ****
--- 1213,1227 ----
// to each of the regions, by attempting to claim the region using the
// HeapRegionClaimer and, if successful, applying the closure to the claimed
// region. The concurrent argument should be set to true if iteration is
// performed concurrently, during which no assumptions are made for consistent
// attributes of the heap regions (as they might be modified while iterating).
+ void heap_region_par_iterate(AbortableHeapRegionClosure* cl,
+ uint worker_id,
+ HeapRegionClaimer* hrclaimer,
+ bool concurrent = false) const;
+
void heap_region_par_iterate(HeapRegionClosure* cl,
uint worker_id,
HeapRegionClaimer* hrclaimer,
bool concurrent = false) const;
src/share/vm/gc/g1/g1CollectedHeap.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File