Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8244603: G1 incorrectly limiting young gen size when using the reserv…
…e can result in repeated full gcs

8238858: G1 Mixed gc young gen sizing might cause the first mixed gc to immediately follow the prepare mixed gc

Reviewed-by: sjohanss, iwalulya
  • Loading branch information
Thomas Schatzl committed Jun 25, 2020
1 parent 8c20401 commit 0f2ac2021b3a1170d39c7b32773fb207aa6b7cd3
Show file tree
Hide file tree
Showing 3 changed files with 317 additions and 202 deletions.
@@ -224,7 +224,11 @@ void G1Analytics::report_rs_length(double rs_length) {
}

double G1Analytics::predict_alloc_rate_ms() const {
return predict_zero_bounded(_alloc_rate_ms_seq);
if (enough_samples_available(_alloc_rate_ms_seq)) {
return predict_zero_bounded(_alloc_rate_ms_seq);
} else {
return 0.0;
}
}

double G1Analytics::predict_concurrent_refine_rate_ms() const {

0 comments on commit 0f2ac20

Please sign in to comment.