equal
deleted
inserted
replaced
121 // Since we cannot know what young gen sizes are used in the future, we will just |
121 // Since we cannot know what young gen sizes are used in the future, we will just |
122 // use the current one. We expect that this one will be one with a fairly large size, |
122 // use the current one. We expect that this one will be one with a fairly large size, |
123 // as there is no marking or mixed gc that could impact its size too much. |
123 // as there is no marking or mixed gc that could impact its size too much. |
124 size_t _last_unrestrained_young_size; |
124 size_t _last_unrestrained_young_size; |
125 |
125 |
|
126 // Get a new prediction bounded below by zero from the given sequence. |
|
127 double get_new_prediction(TruncatedSeq const* seq) const; |
|
128 |
126 bool have_enough_data_for_prediction() const; |
129 bool have_enough_data_for_prediction() const; |
127 |
130 |
128 // The "actual" target threshold the algorithm wants to keep during and at the |
131 // The "actual" target threshold the algorithm wants to keep during and at the |
129 // end of marking. This is typically lower than the requested threshold, as the |
132 // end of marking. This is typically lower than the requested threshold, as the |
130 // algorithm needs to consider restrictions by the environment. |
133 // algorithm needs to consider restrictions by the environment. |