< prev index next >
src/hotspot/share/gc/g1/g1CollectedHeap.hpp
Print this page
@@ -546,13 +546,16 @@
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.
- virtual Tickspan run_task(AbstractGangTask* task);
+ // 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;
}
< prev index next >