Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/g1/g1GCPhaseTimes.hpp @ 23024:cbc7c4c9e11c
8048179: Early reclaim of large objects that are referenced by a few objects
Summary: Push the remembered sets of large objects with few referenced into the dirty card queue at the beginning of the evacuation so that they may end up with zero remembered set entries at the end of the collection, and are potentially reclaimed. Also improve timing measurements of the early reclaim mechanism, and shorten flag names.
Reviewed-by: brutisso, jmasa, dfazunen
author | tschatzl |
---|---|
date | Wed, 07 Jan 2015 15:15:37 +0100 |
parents | 3ca53859c3c7 |
children | a5b77ac78ad2 |
comparison
equal
deleted
inserted
replaced
23023:82617ab0e8b3 | 23024:cbc7c4c9e11c |
---|---|
105 | 105 |
106 double _recorded_young_free_cset_time_ms; | 106 double _recorded_young_free_cset_time_ms; |
107 double _recorded_non_young_free_cset_time_ms; | 107 double _recorded_non_young_free_cset_time_ms; |
108 | 108 |
109 double _cur_fast_reclaim_humongous_time_ms; | 109 double _cur_fast_reclaim_humongous_time_ms; |
110 double _cur_fast_reclaim_humongous_register_time_ms; | |
110 size_t _cur_fast_reclaim_humongous_total; | 111 size_t _cur_fast_reclaim_humongous_total; |
111 size_t _cur_fast_reclaim_humongous_candidates; | 112 size_t _cur_fast_reclaim_humongous_candidates; |
112 size_t _cur_fast_reclaim_humongous_reclaimed; | 113 size_t _cur_fast_reclaim_humongous_reclaimed; |
113 | 114 |
114 double _cur_verify_before_time_ms; | 115 double _cur_verify_before_time_ms; |
200 | 201 |
201 void record_non_young_free_cset_time_ms(double time_ms) { | 202 void record_non_young_free_cset_time_ms(double time_ms) { |
202 _recorded_non_young_free_cset_time_ms = time_ms; | 203 _recorded_non_young_free_cset_time_ms = time_ms; |
203 } | 204 } |
204 | 205 |
205 void record_fast_reclaim_humongous_stats(size_t total, size_t candidates) { | 206 void record_fast_reclaim_humongous_stats(double time_ms, size_t total, size_t candidates) { |
207 _cur_fast_reclaim_humongous_register_time_ms = time_ms; | |
206 _cur_fast_reclaim_humongous_total = total; | 208 _cur_fast_reclaim_humongous_total = total; |
207 _cur_fast_reclaim_humongous_candidates = candidates; | 209 _cur_fast_reclaim_humongous_candidates = candidates; |
208 } | 210 } |
209 | 211 |
210 void record_fast_reclaim_humongous_time_ms(double value, size_t reclaimed) { | 212 void record_fast_reclaim_humongous_time_ms(double value, size_t reclaimed) { |