diff src/share/vm/gc_implementation/g1/g1RootProcessor.hpp @ 22910:3ca53859c3c7

8027962: Per-phase timing measurements for strong roots processing Reviewed-by: tschatzl, ecaspole
author brutisso
date Thu, 19 Mar 2015 15:25:54 +0100
parents 38d6febe66af
children c0205eddb317
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/g1RootProcessor.hpp	Mon Dec 01 15:24:56 2014 +0100
+++ b/src/share/vm/gc_implementation/g1/g1RootProcessor.hpp	Thu Mar 19 15:25:54 2015 +0100
@@ -32,6 +32,7 @@
 class CLDClosure;
 class CodeBlobClosure;
 class G1CollectedHeap;
+class G1GCPhaseTimes;
 class G1ParPushHeapRSClosure;
 class Monitor;
 class OopClosure;
@@ -74,10 +75,14 @@
                           CLDClosure* thread_stack_clds,
                           CLDClosure* scan_strong_clds,
                           CLDClosure* scan_weak_clds,
-                          CodeBlobClosure* scan_strong_code);
+                          CodeBlobClosure* scan_strong_code,
+                          G1GCPhaseTimes* phase_times,
+                          uint worker_i);
 
   void process_vm_roots(OopClosure* scan_non_heap_roots,
-                        OopClosure* scan_non_heap_weak_roots);
+                        OopClosure* scan_non_heap_weak_roots,
+                        G1GCPhaseTimes* phase_times,
+                        uint worker_i);
 
 public:
   G1RootProcessor(G1CollectedHeap* g1h);