mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
7169803: Usage of pretenured value is not correct
Reviewed-by: tamao, jmasa
This commit is contained in:
parent
8a2a6073df
commit
295a084cc5
2 changed files with 2 additions and 2 deletions
|
@ -1304,7 +1304,7 @@ void PSAdaptiveSizePolicy::update_averages(bool is_survivor_overflow,
|
|||
size_t survived_guess = survived + promoted;
|
||||
_avg_survived->sample(survived_guess);
|
||||
}
|
||||
avg_promoted()->sample(promoted + _avg_pretenured->padded_average());
|
||||
avg_promoted()->sample(promoted);
|
||||
|
||||
if (PrintAdaptiveSizePolicy) {
|
||||
gclog_or_tty->print_cr(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue