< prev index next >

src/share/vm/gc/g1/g1CollectedHeap.hpp

Print this page
rev 13131 : [mq]: 8183002-remove-unused-concurrent-parameter

*** 1190,1210 **** inline uint addr_to_region(HeapWord* addr) const; inline HeapWord* bottom_addr_for_region(uint index) const; // Iterate over the heap regions in parallel. Assumes that this will be called ! // in parallel by ParallelGCThreads worker threads with distinct worker ids ! // in the range [0..max(ParallelGCThreads-1, 1)]. Applies "blk->doHeapRegion" // 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(HeapRegionClosure* cl, uint worker_id, ! HeapRegionClaimer* hrclaimer, ! bool concurrent = false) const; // Iterate over the regions (if any) in the current collection set. void collection_set_iterate(HeapRegionClosure* blk); // Iterate over the regions (if any) in the current collection set. Starts the --- 1190,1207 ---- inline uint addr_to_region(HeapWord* addr) const; inline HeapWord* bottom_addr_for_region(uint index) const; // Iterate over the heap regions in parallel. Assumes that this will be called ! // in parallel by a number of worker threads with distinct worker ids ! // in the range passed to the HeapRegionClaimer. Applies "blk->doHeapRegion" // to each of the regions, by attempting to claim the region using the // HeapRegionClaimer and, if successful, applying the closure to the claimed ! // region. void heap_region_par_iterate(HeapRegionClosure* cl, uint worker_id, ! HeapRegionClaimer* hrclaimer) const; // Iterate over the regions (if any) in the current collection set. void collection_set_iterate(HeapRegionClosure* blk); // Iterate over the regions (if any) in the current collection set. Starts the
< prev index next >