G1Policy::revise_young_list_target_length calls update_young_length_bounds, which has a bool third argument. The comment in that call indicating the parameter name is incorrect - it's "need_one_eden_region bug" should be "after_gc". The parameter name was changed during review of JDK-8297186, and this call was not updated.
- relates to
-
JDK-8298215 gc/g1/TestVerifyGCType.java failed with "Missing expected verification pattern Verifying After GC for: Pause Young (Prepare Mixed): expected true, was false"
-
- Closed
-
-
JDK-8297186 G1 triggers unnecessary full GCs when heap utilization is low
-
- Resolved
-