src/hotspot/share/gc/g1/g1GCPhaseTimes.hpp
changeset 49810 b5d5e53232ce
parent 47216 71c04702a3d5
child 49911 358be4680d12
--- a/src/hotspot/share/gc/g1/g1GCPhaseTimes.hpp	Wed Apr 18 11:36:48 2018 +0200
+++ b/src/hotspot/share/gc/g1/g1GCPhaseTimes.hpp	Wed Apr 18 11:36:48 2018 +0200
@@ -129,6 +129,8 @@
   double _cur_ref_proc_time_ms;
   double _cur_ref_enq_time_ms;
 
+  double _cur_weak_ref_proc_time_ms;
+
   double _cur_collection_start_sec;
   double _root_region_scan_wait_time_ms;
 
@@ -253,6 +255,10 @@
     _cur_ref_proc_time_ms = ms;
   }
 
+  void record_weak_ref_proc_time(double ms) {
+    _cur_weak_ref_proc_time_ms = ms;
+  }
+
   void record_ref_enq_time(double ms) {
     _cur_ref_enq_time_ms = ms;
   }