--- a/hotspot/src/share/vm/gc/g1/g1GCPhaseTimes.hpp Wed Mar 15 10:25:37 2017 -0400
+++ b/hotspot/src/share/vm/gc/g1/g1GCPhaseTimes.hpp Thu Mar 16 09:05:20 2017 +0100
@@ -97,6 +97,11 @@
double _cur_string_dedup_fixup_time_ms;
+ double _cur_prepare_tlab_time_ms;
+ double _cur_resize_tlab_time_ms;
+
+ double _cur_derived_pointer_table_update_time_ms;
+
double _cur_clear_ct_time_ms;
double _cur_expand_heap_time_ms;
double _cur_ref_proc_time_ms;
@@ -118,6 +123,8 @@
double _recorded_merge_pss_time_ms;
+ double _recorded_start_new_cset_time_ms;
+
double _recorded_total_free_cset_time_ms;
double _recorded_serial_free_cset_time_ms;
@@ -172,6 +179,18 @@
public:
+ void record_prepare_tlab_time_ms(double ms) {
+ _cur_prepare_tlab_time_ms = ms;
+ }
+
+ void record_resize_tlab_time_ms(double ms) {
+ _cur_resize_tlab_time_ms = ms;
+ }
+
+ void record_derived_pointer_table_update_time(double ms) {
+ _cur_derived_pointer_table_update_time_ms = ms;
+ }
+
void record_clear_ct_time(double ms) {
_cur_clear_ct_time_ms = ms;
}
@@ -259,6 +278,10 @@
_recorded_merge_pss_time_ms = time_ms;
}
+ void record_start_new_cset_time_ms(double time_ms) {
+ _recorded_start_new_cset_time_ms = time_ms;
+ }
+
void record_cur_collection_start_sec(double time_ms) {
_cur_collection_start_sec = time_ms;
}