129 double _cur_collection_code_root_fixup_time_ms;
130 double _cur_strong_code_root_purge_time_ms;
131
132 double _cur_evac_fail_recalc_used;
133 double _cur_evac_fail_remove_self_forwards;
134
135 double _cur_string_deduplication_time_ms;
136
137 double _cur_merge_heap_roots_time_ms;
138 double _cur_optional_merge_heap_roots_time_ms;
139
140 double _cur_prepare_merge_heap_roots_time_ms;
141 double _cur_optional_prepare_merge_heap_roots_time_ms;
142
143 double _cur_prepare_tlab_time_ms;
144 double _cur_resize_tlab_time_ms;
145
146 double _cur_derived_pointer_table_update_time_ms;
147
148 double _cur_clear_ct_time_ms;
149 double _cur_expand_heap_time_ms;
150 double _cur_ref_proc_time_ms;
151
152 double _cur_collection_start_sec;
153 double _root_region_scan_wait_time_ms;
154
155 double _external_accounted_time_ms;
156
157 double _recorded_prepare_heap_roots_time_ms;
158
159 double _recorded_clear_claimed_marks_time_ms;
160
161 double _recorded_young_cset_choice_time_ms;
162 double _recorded_non_young_cset_choice_time_ms;
163
164 double _recorded_redirty_logged_cards_time_ms;
165
166 double _recorded_preserve_cm_referents_time_ms;
167
168 double _recorded_merge_pss_time_ms;
169
243 double average_time_ms(GCParPhases phase);
244
245 size_t sum_thread_work_items(GCParPhases phase, uint index = 0);
246
247 void record_prepare_tlab_time_ms(double ms) {
248 _cur_prepare_tlab_time_ms = ms;
249 }
250
251 void record_resize_tlab_time_ms(double ms) {
252 _cur_resize_tlab_time_ms = ms;
253 }
254
255 void record_derived_pointer_table_update_time(double ms) {
256 _cur_derived_pointer_table_update_time_ms = ms;
257 }
258
259 void record_clear_ct_time(double ms) {
260 _cur_clear_ct_time_ms = ms;
261 }
262
263 void record_expand_heap_time(double ms) {
264 _cur_expand_heap_time_ms = ms;
265 }
266
267 void record_initial_evac_time(double ms) {
268 _cur_collection_initial_evac_time_ms = ms;
269 }
270
271 void record_or_add_optional_evac_time(double ms) {
272 _cur_optional_evac_time_ms += ms;
273 }
274
275 void record_or_add_code_root_fixup_time(double ms) {
276 _cur_collection_code_root_fixup_time_ms += ms;
277 }
278
279 void record_strong_code_root_purge_time(double ms) {
280 _cur_strong_code_root_purge_time_ms = ms;
281 }
282
283 void record_merge_heap_roots_time(double ms) {
284 _cur_merge_heap_roots_time_ms += ms;
382 void record_prepare_heap_roots_time_ms(double recorded_prepare_heap_roots_time_ms) {
383 _recorded_prepare_heap_roots_time_ms = recorded_prepare_heap_roots_time_ms;
384 }
385
386 void record_clear_claimed_marks_time_ms(double recorded_clear_claimed_marks_time_ms) {
387 _recorded_clear_claimed_marks_time_ms = recorded_clear_claimed_marks_time_ms;
388 }
389
390 double cur_collection_start_sec() {
391 return _cur_collection_start_sec;
392 }
393
394 double cur_collection_par_time_ms() {
395 return _cur_collection_initial_evac_time_ms + _cur_optional_evac_time_ms;
396 }
397
398 double cur_clear_ct_time_ms() {
399 return _cur_clear_ct_time_ms;
400 }
401
402 double cur_expand_heap_time_ms() {
403 return _cur_expand_heap_time_ms;
404 }
405
406 double root_region_scan_wait_time_ms() {
407 return _root_region_scan_wait_time_ms;
408 }
409
410 double young_cset_choice_time_ms() {
411 return _recorded_young_cset_choice_time_ms;
412 }
413
414 double total_free_cset_time_ms() {
415 return _recorded_total_free_cset_time_ms;
416 }
417
418 double total_rebuild_freelist_time_ms() {
419 return _recorded_total_rebuild_freelist_time_ms;
420 }
421
422 double non_young_cset_choice_time_ms() {
423 return _recorded_non_young_cset_choice_time_ms;
|
129 double _cur_collection_code_root_fixup_time_ms;
130 double _cur_strong_code_root_purge_time_ms;
131
132 double _cur_evac_fail_recalc_used;
133 double _cur_evac_fail_remove_self_forwards;
134
135 double _cur_string_deduplication_time_ms;
136
137 double _cur_merge_heap_roots_time_ms;
138 double _cur_optional_merge_heap_roots_time_ms;
139
140 double _cur_prepare_merge_heap_roots_time_ms;
141 double _cur_optional_prepare_merge_heap_roots_time_ms;
142
143 double _cur_prepare_tlab_time_ms;
144 double _cur_resize_tlab_time_ms;
145
146 double _cur_derived_pointer_table_update_time_ms;
147
148 double _cur_clear_ct_time_ms;
149 double _cur_resize_heap_time_ms;
150 double _cur_ref_proc_time_ms;
151
152 double _cur_collection_start_sec;
153 double _root_region_scan_wait_time_ms;
154
155 double _external_accounted_time_ms;
156
157 double _recorded_prepare_heap_roots_time_ms;
158
159 double _recorded_clear_claimed_marks_time_ms;
160
161 double _recorded_young_cset_choice_time_ms;
162 double _recorded_non_young_cset_choice_time_ms;
163
164 double _recorded_redirty_logged_cards_time_ms;
165
166 double _recorded_preserve_cm_referents_time_ms;
167
168 double _recorded_merge_pss_time_ms;
169
243 double average_time_ms(GCParPhases phase);
244
245 size_t sum_thread_work_items(GCParPhases phase, uint index = 0);
246
247 void record_prepare_tlab_time_ms(double ms) {
248 _cur_prepare_tlab_time_ms = ms;
249 }
250
251 void record_resize_tlab_time_ms(double ms) {
252 _cur_resize_tlab_time_ms = ms;
253 }
254
255 void record_derived_pointer_table_update_time(double ms) {
256 _cur_derived_pointer_table_update_time_ms = ms;
257 }
258
259 void record_clear_ct_time(double ms) {
260 _cur_clear_ct_time_ms = ms;
261 }
262
263 void record_resize_heap_time(double ms) {
264 _cur_resize_heap_time_ms = ms;
265 }
266
267 void record_initial_evac_time(double ms) {
268 _cur_collection_initial_evac_time_ms = ms;
269 }
270
271 void record_or_add_optional_evac_time(double ms) {
272 _cur_optional_evac_time_ms += ms;
273 }
274
275 void record_or_add_code_root_fixup_time(double ms) {
276 _cur_collection_code_root_fixup_time_ms += ms;
277 }
278
279 void record_strong_code_root_purge_time(double ms) {
280 _cur_strong_code_root_purge_time_ms = ms;
281 }
282
283 void record_merge_heap_roots_time(double ms) {
284 _cur_merge_heap_roots_time_ms += ms;
382 void record_prepare_heap_roots_time_ms(double recorded_prepare_heap_roots_time_ms) {
383 _recorded_prepare_heap_roots_time_ms = recorded_prepare_heap_roots_time_ms;
384 }
385
386 void record_clear_claimed_marks_time_ms(double recorded_clear_claimed_marks_time_ms) {
387 _recorded_clear_claimed_marks_time_ms = recorded_clear_claimed_marks_time_ms;
388 }
389
390 double cur_collection_start_sec() {
391 return _cur_collection_start_sec;
392 }
393
394 double cur_collection_par_time_ms() {
395 return _cur_collection_initial_evac_time_ms + _cur_optional_evac_time_ms;
396 }
397
398 double cur_clear_ct_time_ms() {
399 return _cur_clear_ct_time_ms;
400 }
401
402 double cur_resize_heap_time_ms() {
403 return _cur_resize_heap_time_ms;
404 }
405
406 double root_region_scan_wait_time_ms() {
407 return _root_region_scan_wait_time_ms;
408 }
409
410 double young_cset_choice_time_ms() {
411 return _recorded_young_cset_choice_time_ms;
412 }
413
414 double total_free_cset_time_ms() {
415 return _recorded_total_free_cset_time_ms;
416 }
417
418 double total_rebuild_freelist_time_ms() {
419 return _recorded_total_rebuild_freelist_time_ms;
420 }
421
422 double non_young_cset_choice_time_ms() {
423 return _recorded_non_young_cset_choice_time_ms;
|