< prev index next >
src/hotspot/share/gc/g1/g1CollectedHeap.hpp
Print this page
@@ -548,11 +548,11 @@
WorkGang* workers() const { return _workers; }
// Runs the given AbstractGangTask with the current active workers, returning the
// total time taken.
- Tickspan run_task(AbstractGangTask* task);
+ virtual Tickspan run_task(AbstractGangTask* task);
G1Allocator* allocator() {
return _allocator;
}
@@ -1165,13 +1165,17 @@
return _card_table;
}
// Iteration functions.
+ void object_iterate_parallel(ObjectClosure* cl, uint worker_id, HeapRegionClaimer* claimer);
+
// Iterate over all objects, calling "cl.do_object" on each.
virtual void object_iterate(ObjectClosure* cl);
+ virtual ParallelObjectIterator* parallel_object_iterator(uint thread_num);
+
// Keep alive an object that was loaded with AS_NO_KEEPALIVE.
virtual void keep_alive(oop obj);
// Iterate over heap regions, in address order, terminating the
// iteration early if the "do_heap_region" method returns "true".
< prev index next >