74 uint _young_list_max_length;
75
76 SurvRateGroup* _short_lived_surv_rate_group;
77 SurvRateGroup* _survivor_surv_rate_group;
78
79 double _reserve_factor;
80 uint _reserve_regions;
81
82 G1YoungGenSizer* _young_gen_sizer;
83
84 uint _free_regions_at_end_of_collection;
85
86 size_t _max_rs_lengths;
87
88 size_t _rs_lengths_prediction;
89
90 #ifndef PRODUCT
91 bool verify_young_ages(HeapRegion* head, SurvRateGroup *surv_rate_group);
92 #endif // PRODUCT
93
94 void adjust_concurrent_refinement(double update_rs_time,
95 double update_rs_processed_buffers,
96 double goal_ms);
97
98 double _pause_time_target_ms;
99
100 size_t _pending_cards;
101
102 // The amount of allocated bytes in old gen during the last mutator and the following
103 // young GC phase.
104 size_t _bytes_allocated_in_old_since_last_gc;
105
106 G1InitialMarkToMixedTimeTracker _initial_mark_to_mixed;
107 public:
108 const G1Predictions& predictor() const { return _predictor; }
109 const G1Analytics* analytics() const { return const_cast<const G1Analytics*>(_analytics); }
110
111 // Add the given number of bytes to the total number of allocated bytes in the old gen.
112 void add_bytes_allocated_in_old_since_last_gc(size_t bytes) { _bytes_allocated_in_old_since_last_gc += bytes; }
113
114 // Accessors
115
116 void set_region_eden(HeapRegion* hr, int young_index_in_cset) {
117 hr->set_eden();
|
74 uint _young_list_max_length;
75
76 SurvRateGroup* _short_lived_surv_rate_group;
77 SurvRateGroup* _survivor_surv_rate_group;
78
79 double _reserve_factor;
80 uint _reserve_regions;
81
82 G1YoungGenSizer* _young_gen_sizer;
83
84 uint _free_regions_at_end_of_collection;
85
86 size_t _max_rs_lengths;
87
88 size_t _rs_lengths_prediction;
89
90 #ifndef PRODUCT
91 bool verify_young_ages(HeapRegion* head, SurvRateGroup *surv_rate_group);
92 #endif // PRODUCT
93
94 double _pause_time_target_ms;
95
96 size_t _pending_cards;
97
98 // The amount of allocated bytes in old gen during the last mutator and the following
99 // young GC phase.
100 size_t _bytes_allocated_in_old_since_last_gc;
101
102 G1InitialMarkToMixedTimeTracker _initial_mark_to_mixed;
103 public:
104 const G1Predictions& predictor() const { return _predictor; }
105 const G1Analytics* analytics() const { return const_cast<const G1Analytics*>(_analytics); }
106
107 // Add the given number of bytes to the total number of allocated bytes in the old gen.
108 void add_bytes_allocated_in_old_since_last_gc(size_t bytes) { _bytes_allocated_in_old_since_last_gc += bytes; }
109
110 // Accessors
111
112 void set_region_eden(HeapRegion* hr, int young_index_in_cset) {
113 hr->set_eden();
|