< prev index next >

src/share/vm/gc/g1/g1CollectorPolicy.hpp

Print this page
rev 10472 : 8151711: Move G1 number sequences out of the G1 collector policy
Reviewed-by:
rev 10473 : [mq]: rename-to-analytics
rev 10475 : 8151637: Move CollectionSetChooser rebuild code into CollectionSetChooser
Reviewed-by:
rev 10476 : 8151808: Factor G1 heap sizing code out of the G1CollectorPolicy
Reviewed-by:

*** 57,101 **** size_t young_gen_size); void report_ihop_statistics(); G1Predictions _predictor; G1Analytics* _analytics; - G1MMUTracker* _mmu_tracker; void initialize_alignments(); void initialize_flags(); double _full_collection_start_sec; - // Ratio check data for determining if heap growth is necessary. - uint _ratio_over_threshold_count; - double _ratio_over_threshold_sum; - uint _pauses_since_start; - uint _young_list_target_length; uint _young_list_fixed_length; // The max number of regions we can extend the eden by while the GC // locker is active. This should be >= _young_list_target_length; uint _young_list_max_length; SurvRateGroup* _short_lived_surv_rate_group; SurvRateGroup* _survivor_surv_rate_group; - double _gc_overhead_perc; - double _reserve_factor; uint _reserve_regions; - enum PredictionConstants { - NumPrevPausesForHeuristics = 10, - // MinOverThresholdForGrowth must be less than NumPrevPausesForHeuristics, - // representing the minimum number of pause time ratios that exceed - // GCTimeRatio before a heap expansion will be triggered. - MinOverThresholdForGrowth = 4 - }; G1YoungGenSizer* _young_gen_sizer; uint _free_regions_at_end_of_collection; size_t _max_rs_lengths; --- 57,86 ----
*** 389,405 **** // marking thread has completed its work during the previous cycle, // it will set during_initial_mark_pause() to so that the pause does // the initial-mark work and start a marking cycle. void decide_on_conc_mark_initiation(); - // If an expansion would be appropriate, because recent GC overhead had - // exceeded the desired limit, return an amount to expand by. - virtual size_t expansion_amount(); - - // Clear ratio tracking data used by expansion_amount(). - void clear_ratio_check_data(); - // Print stats on young survival ratio void print_yg_surv_rate_info() const; void finished_recalculating_age_indexes(bool is_survivors) { if (is_survivors) { --- 374,383 ----
< prev index next >