Print this page
8236073: G1: Use SoftMaxHeapSize to guide GC heuristics


 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 
 170   double _recorded_start_new_cset_time_ms;


 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;
 285   }
 286 


 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;




 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   double _cur_adjust_heap_time_ms;
 152 
 153   double _cur_collection_start_sec;
 154   double _root_region_scan_wait_time_ms;
 155 
 156   double _external_accounted_time_ms;
 157 
 158   double _recorded_prepare_heap_roots_time_ms;
 159 
 160   double _recorded_clear_claimed_marks_time_ms;
 161 
 162   double _recorded_young_cset_choice_time_ms;
 163   double _recorded_non_young_cset_choice_time_ms;
 164 
 165   double _recorded_redirty_logged_cards_time_ms;
 166 
 167   double _recorded_preserve_cm_referents_time_ms;
 168 
 169   double _recorded_merge_pss_time_ms;
 170 
 171   double _recorded_start_new_cset_time_ms;


 248   void record_prepare_tlab_time_ms(double ms) {
 249     _cur_prepare_tlab_time_ms = ms;
 250   }
 251 
 252   void record_resize_tlab_time_ms(double ms) {
 253     _cur_resize_tlab_time_ms = ms;
 254   }
 255 
 256   void record_derived_pointer_table_update_time(double ms) {
 257     _cur_derived_pointer_table_update_time_ms = ms;
 258   }
 259 
 260   void record_clear_ct_time(double ms) {
 261     _cur_clear_ct_time_ms = ms;
 262   }
 263 
 264   void record_expand_heap_time(double ms) {
 265     _cur_expand_heap_time_ms = ms;
 266   }
 267 
 268   void record_or_add_adjust_heap_time(double ms) {
 269     _cur_adjust_heap_time_ms += ms;
 270   }
 271 
 272   void record_initial_evac_time(double ms) {
 273     _cur_collection_initial_evac_time_ms = ms;
 274   }
 275 
 276   void record_or_add_optional_evac_time(double ms) {
 277     _cur_optional_evac_time_ms += ms;
 278   }
 279 
 280   void record_or_add_code_root_fixup_time(double ms) {
 281     _cur_collection_code_root_fixup_time_ms += ms;
 282   }
 283 
 284   void record_strong_code_root_purge_time(double ms) {
 285     _cur_strong_code_root_purge_time_ms = ms;
 286   }
 287 
 288   void record_merge_heap_roots_time(double ms) {
 289     _cur_merge_heap_roots_time_ms += ms;
 290   }
 291 


 389   }
 390 
 391   void record_clear_claimed_marks_time_ms(double recorded_clear_claimed_marks_time_ms) {
 392     _recorded_clear_claimed_marks_time_ms = recorded_clear_claimed_marks_time_ms;
 393   }
 394 
 395   double cur_collection_start_sec() {
 396     return _cur_collection_start_sec;
 397   }
 398 
 399   double cur_collection_par_time_ms() {
 400     return _cur_collection_initial_evac_time_ms + _cur_optional_evac_time_ms;
 401   }
 402 
 403   double cur_clear_ct_time_ms() {
 404     return _cur_clear_ct_time_ms;
 405   }
 406 
 407   double cur_expand_heap_time_ms() {
 408     return _cur_expand_heap_time_ms;
 409   }
 410 
 411   double cur_adjust_heap_time_ms() {
 412     return _cur_adjust_heap_time_ms;
 413   }
 414 
 415   double root_region_scan_wait_time_ms() {
 416     return _root_region_scan_wait_time_ms;
 417   }
 418 
 419   double young_cset_choice_time_ms() {
 420     return _recorded_young_cset_choice_time_ms;
 421   }
 422 
 423   double total_free_cset_time_ms() {
 424     return _recorded_total_free_cset_time_ms;
 425   }
 426 
 427   double total_rebuild_freelist_time_ms() {
 428     return _recorded_total_rebuild_freelist_time_ms;
 429   }
 430 
 431   double non_young_cset_choice_time_ms() {
 432     return _recorded_non_young_cset_choice_time_ms;