< prev index next >

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

Print this page

        

*** 547,559 **** public: G1YoungRemSetSamplingThread* sampling_thread() const { return _young_gen_sampling_thread; } WorkGang* workers() const { return _workers; } ! // Runs the given AbstractGangTask with the current active workers, returning the ! // total time taken. ! Tickspan run_task(AbstractGangTask* task); G1Allocator* allocator() { return _allocator; } --- 547,562 ---- public: G1YoungRemSetSamplingThread* sampling_thread() const { return _young_gen_sampling_thread; } WorkGang* workers() const { return _workers; } ! // Runs the given AbstractGangTask with the current active workers. ! virtual void run_task(AbstractGangTask* task); ! ! // Runs the given AbstractGangTask with the current active workers, ! // returning the total time taken. ! Tickspan run_task_timed(AbstractGangTask* task); G1Allocator* allocator() { return _allocator; }
*** 1166,1178 **** --- 1169,1185 ---- 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 >