< prev index next >

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

Print this page

        

@@ -160,17 +160,13 @@
   // The from card cache is not the memory that is actually committed. So we cannot
   // take advantage of the zero_filled parameter.
   reset_from_card_cache(start_idx, num_regions);
 }
 
-void G1CollectedHeap::run_task(AbstractGangTask* task) {
-  workers()->run_task(task, workers()->active_workers());
-}
-
 Tickspan G1CollectedHeap::run_task_timed(AbstractGangTask* task) {
   Ticks start = Ticks::now();
-  run_task(task);
+  workers()->run_task(task);
   return Ticks::now() - start;
 }
 
 HeapRegion* G1CollectedHeap::new_heap_region(uint hrs_index,
                                              MemRegion mr) {
< prev index next >