< prev index next >

src/hotspot/share/gc/shenandoah/shenandoahHeap.hpp

Print this page

        

@@ -207,10 +207,12 @@
 
   WorkGang* workers() const;
   WorkGang* get_safepoint_workers();
 
   void gc_threads_do(ThreadClosure* tcl) const;
+  // Runs the given AbstractGangTask with the current active workers.
+  virtual void run_task(AbstractGangTask* task);
 
 // ---------- Heap regions handling machinery
 //
 private:
   MemRegion _heap_region;

@@ -615,14 +617,10 @@
 
   void labs_make_parsable();
   void tlabs_retire(bool resize);
   void gclabs_retire(bool resize);
 
-  // Runs the given AbstractGangTask with the current active workers.
-  // Returns the total time to run the task.
-  virtual void run_task(AbstractGangTask* task);
-
 // ---------- Marking support
 //
 private:
   ShenandoahMarkingContext* _marking_context;
   MemRegion  _bitmap_region;
< prev index next >