< prev index next >

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

Print this page

        

@@ -1168,10 +1168,21 @@
   // Iteration functions.
 
   // Iterate over all objects, calling "cl.do_object" on each.
   virtual void object_iterate(ObjectClosure* cl);
 
+  virtual bool run_par_heap_inspect_task(KlassInfoTable* cit,
+                                                 BoolObjectClosure* filter,
+                                                 size_t* missed_count,
+                                                 size_t thread_num);
+
+  // Parallel iterate over all objects.
+  virtual void object_iterate_parallel(ObjectClosure* cl, uint worker_id, HeapRegionClaimer* claimer);
+
+  // Parallel iterate over all objects, reture false if parallel not support.
+  virtual bool object_iterate_try_parallel(AbstractGangTask *task, size_t par_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 >