Skip to content
Permalink
Browse files

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 bba948f0ff8facddfb5efb7320ff2594c62e5aef
Showing with 205 additions and 333 deletions.
  1. +1 −5 src/hotspot/share/gc/g1/g1Analytics.cpp
  2. +159 −284 src/hotspot/share/gc/g1/g1Policy.cpp
  3. +45 −44 src/hotspot/share/gc/g1/g1Policy.hpp
@@ -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 {

1 comment on commit bba948f

@bridgekeeper

This comment has been minimized.

Copy link

@bridgekeeper bridgekeeper bot commented on bba948f Sep 21, 2020

Please sign in to comment.