Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/g1GCPhaseTimes.hpp @ 20216:570cb6369f17
8019342: G1: High "Other" time most likely due to card redirtying
Summary: Parallelize card redirtying to decrease the time it takes.
Reviewed-by: brutisso
author | tschatzl |
---|---|
date | Mon, 21 Jul 2014 09:40:19 +0200 |
parents | 8847586c9037 |
children | 2c6ef90f030a |
comparison
equal
deleted
inserted
replaced
20215:983092f35ff7 | 20216:570cb6369f17 |
---|---|
149 double _root_region_scan_wait_time_ms; | 149 double _root_region_scan_wait_time_ms; |
150 | 150 |
151 double _recorded_young_cset_choice_time_ms; | 151 double _recorded_young_cset_choice_time_ms; |
152 double _recorded_non_young_cset_choice_time_ms; | 152 double _recorded_non_young_cset_choice_time_ms; |
153 | 153 |
154 WorkerDataArray<double> _last_redirty_logged_cards_time_ms; | |
155 WorkerDataArray<size_t> _last_redirty_logged_cards_processed_cards; | |
154 double _recorded_redirty_logged_cards_time_ms; | 156 double _recorded_redirty_logged_cards_time_ms; |
155 | 157 |
156 double _recorded_young_free_cset_time_ms; | 158 double _recorded_young_free_cset_time_ms; |
157 double _recorded_non_young_free_cset_time_ms; | 159 double _recorded_non_young_free_cset_time_ms; |
158 | 160 |
291 | 293 |
292 void record_non_young_cset_choice_time_ms(double time_ms) { | 294 void record_non_young_cset_choice_time_ms(double time_ms) { |
293 _recorded_non_young_cset_choice_time_ms = time_ms; | 295 _recorded_non_young_cset_choice_time_ms = time_ms; |
294 } | 296 } |
295 | 297 |
298 void record_redirty_logged_cards_time_ms(uint worker_i, double time_ms) { | |
299 _last_redirty_logged_cards_time_ms.set(worker_i, time_ms); | |
300 } | |
301 | |
302 void record_redirty_logged_cards_processed_cards(uint worker_i, size_t processed_buffers) { | |
303 _last_redirty_logged_cards_processed_cards.set(worker_i, processed_buffers); | |
304 } | |
305 | |
296 void record_redirty_logged_cards_time_ms(double time_ms) { | 306 void record_redirty_logged_cards_time_ms(double time_ms) { |
297 _recorded_redirty_logged_cards_time_ms = time_ms; | 307 _recorded_redirty_logged_cards_time_ms = time_ms; |
298 } | 308 } |
299 | 309 |
300 void record_cur_collection_start_sec(double time_ms) { | 310 void record_cur_collection_start_sec(double time_ms) { |