src/share/vm/gc_implementation/g1/g1GCPhaseTimes.hpp

changeset 6413
595c0f60d50d
parent 6406
eff02b5bd56c
child 6552
8847586c9037
     1.1 --- a/src/share/vm/gc_implementation/g1/g1GCPhaseTimes.hpp	Mon Mar 24 09:14:14 2014 -0700
     1.2 +++ b/src/share/vm/gc_implementation/g1/g1GCPhaseTimes.hpp	Tue Mar 18 19:07:22 2014 +0100
     1.3 @@ -137,6 +137,10 @@
     1.4    double _cur_evac_fail_restore_remsets;
     1.5    double _cur_evac_fail_remove_self_forwards;
     1.6  
     1.7 +  double                  _cur_string_dedup_fixup_time_ms;
     1.8 +  WorkerDataArray<double> _cur_string_dedup_queue_fixup_worker_times_ms;
     1.9 +  WorkerDataArray<double> _cur_string_dedup_table_fixup_worker_times_ms;
    1.10 +
    1.11    double _cur_clear_ct_time_ms;
    1.12    double _cur_ref_proc_time_ms;
    1.13    double _cur_ref_enq_time_ms;
    1.14 @@ -246,6 +250,21 @@
    1.15      _cur_evac_fail_remove_self_forwards = ms;
    1.16    }
    1.17  
    1.18 +  void note_string_dedup_fixup_start();
    1.19 +  void note_string_dedup_fixup_end();
    1.20 +
    1.21 +  void record_string_dedup_fixup_time(double ms) {
    1.22 +    _cur_string_dedup_fixup_time_ms = ms;
    1.23 +  }
    1.24 +
    1.25 +  void record_string_dedup_queue_fixup_worker_time(uint worker_id, double ms) {
    1.26 +    _cur_string_dedup_queue_fixup_worker_times_ms.set(worker_id, ms);
    1.27 +  }
    1.28 +
    1.29 +  void record_string_dedup_table_fixup_worker_time(uint worker_id, double ms) {
    1.30 +    _cur_string_dedup_table_fixup_worker_times_ms.set(worker_id, ms);
    1.31 +  }
    1.32 +
    1.33    void record_ref_proc_time(double ms) {
    1.34      _cur_ref_proc_time_ms = ms;
    1.35    }

mercurial