comparison src/share/vm/gc_implementation/g1/g1GCPhaseTimes.cpp @ 20299:e8ba50da0de0

8052170: G1 asserts at collection exit with -XX:-G1DeferredRSUpdate Summary: Do not try to verify timing measures for the redirty logged cards phase when it is not executed. Reviewed-by: brutisso, jmasa
author tschatzl
date Thu, 07 Aug 2014 22:28:16 +0200
parents a3953c777565
children 7baf47cb97cb
comparison
equal deleted inserted replaced
20298:83ea089a5c64 20299:e8ba50da0de0
234 } 234 }
235 235
236 _last_gc_worker_times_ms.verify(); 236 _last_gc_worker_times_ms.verify();
237 _last_gc_worker_other_times_ms.verify(); 237 _last_gc_worker_other_times_ms.verify();
238 238
239 _last_redirty_logged_cards_time_ms.verify(); 239 if (G1DeferredRSUpdate) {
240 _last_redirty_logged_cards_processed_cards.verify(); 240 _last_redirty_logged_cards_time_ms.verify();
241 _last_redirty_logged_cards_processed_cards.verify();
242 }
241 } 243 }
242 244
243 void G1GCPhaseTimes::note_string_dedup_fixup_start() { 245 void G1GCPhaseTimes::note_string_dedup_fixup_start() {
244 _cur_string_dedup_queue_fixup_worker_times_ms.reset(); 246 _cur_string_dedup_queue_fixup_worker_times_ms.reset();
245 _cur_string_dedup_table_fixup_worker_times_ms.reset(); 247 _cur_string_dedup_table_fixup_worker_times_ms.reset();