Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8253411: [BACKOUT] [REDO] G1 incorrectly limiting young gen size when…
… using the reserve can result in repeated full gcs

Reviewed-by: kbarrett, sjohanss
  • Loading branch information
Thomas Schatzl committed Sep 21, 2020
1 parent 955c2e6 commit bba948f
Show file tree
Hide file tree
Showing 3 changed files with 205 additions and 333 deletions.
6 changes: 1 addition & 5 deletions src/hotspot/share/gc/g1/g1Analytics.cpp
Expand Up @@ -225,11 +225,7 @@ void G1Analytics::report_rs_length(double rs_length) {
}

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

double G1Analytics::predict_concurrent_refine_rate_ms() const {
Expand Down

1 comment on commit bba948f

@bridgekeeper
Copy link

@bridgekeeper bridgekeeper bot commented on bba948f Sep 21, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.