121 size_t _cur_fast_reclaim_humongous_reclaimed; |
120 size_t _cur_fast_reclaim_humongous_reclaimed; |
122 |
121 |
123 double _cur_verify_before_time_ms; |
122 double _cur_verify_before_time_ms; |
124 double _cur_verify_after_time_ms; |
123 double _cur_verify_after_time_ms; |
125 |
124 |
|
125 double worker_time(GCParPhases phase, uint worker); |
126 void note_gc_end(); |
126 void note_gc_end(); |
127 |
127 |
128 template <class T> |
128 template <class T> |
129 void details(T* phase, const char* indent); |
129 void details(T* phase, const char* indent); |
130 void log_phase(WorkerDataArray<double>* phase, uint indent, outputStream* out, bool print_sum); |
130 void log_phase(WorkerDataArray<double>* phase, uint indent, outputStream* out, bool print_sum); |
131 void debug_phase(WorkerDataArray<double>* phase); |
131 void debug_phase(WorkerDataArray<double>* phase); |
132 void trace_phase(WorkerDataArray<double>* phase, bool print_sum = true); |
132 void trace_phase(WorkerDataArray<double>* phase, bool print_sum = true); |
133 |
133 |
134 public: |
134 public: |
135 G1GCPhaseTimes(uint max_gc_threads); |
135 G1GCPhaseTimes(uint max_gc_threads); |
136 void note_gc_start(uint active_gc_threads); |
136 void note_gc_start(); |
137 void print(); |
137 void print(); |
138 |
138 |
139 // record the time a phase took in seconds |
139 // record the time a phase took in seconds |
140 void record_time_secs(GCParPhases phase, uint worker_i, double secs); |
140 void record_time_secs(GCParPhases phase, uint worker_i, double secs); |
141 |
141 |