JDK-8245086 : G1: Rename measured pause time ratios
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 15
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-05-15
  • Updated: 2024-09-28
  • Resolved: 2020-05-26
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 15
15 b25Fixed
Related Reports
Blocks :  
Description
G1 currently uses two values to drive heap resizing (expansion):

- recent_avg_pause_time_ratio: contains the (calculated) pause time ratio over the last X mutator/gc phases
- last_pause_time_ratio: contains the (calculated) pause time ratio over the last(*) mutator/gc phase

(*) this is not entirely true, see JDK-8243672.

I suggest to rename them to long/short_term_pause_time_ratio to be a bit more flexible about the contents.
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/83e4e11e7f11 User: tschatzl Date: 2020-05-26 07:36:08 +0000
26-05-2020