7084509: G1: fix inconsistencies and mistakes in the young list target length calculations

Fixed inconsistencies and mistakes in the young list target length calculations so that a) the calculated target length is optimal (before, it was not), b) other parameters like max survivor size and max gc locker eden expansion are always consistent with the calculated target length (before, they were not always), and c) the resulting target length was always bound by desired min and max values (before, it was not).

Reviewed-by: brutisso, johnc
This commit is contained in:
Antonios Printezis 2011-09-08 05:16:49 -04:00
parent 1940a13d31
commit d96de580b6
5 changed files with 316 additions and 246 deletions

View file

@ -91,7 +91,7 @@ void ConcurrentG1RefineThread::sample_young_list_rs_lengths() {
}
}
g1p->check_prediction_validity();
g1p->revise_young_list_target_length_if_necessary();
}
}