--- 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;
}