JDK-8247843 : Reconsider G1 default GCTimeRatio value
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 16
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-06-18
  • Updated: 2025-07-10
  • Resolved: 2025-07-09
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 26
26 b06Fixed
Related Reports
Blocks :  
Relates :  
Relates :  
Description
In JDK-8238687 G1 will make committed heap more or less follow the GCTimeRatio. Which means that there may be throughput regressions due to keeping a smaller heap now.

Further in the last few years, pauses have been optimized a lot, now taking significantly less time.

So it is natural to think about rebalancing the GCTimeRatio default value decision made years ago.
Comments
Changeset: 47614796 Branch: master Author: Ivan Walulya <iwalulya@openjdk.org> Date: 2025-07-09 05:44:42 +0000 URL: https://git.openjdk.org/jdk/commit/4761479608d5a8ecc504e343109900b0d0c77171
09-07-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/25832 Date: 2025-06-16 14:05:52 +0000
16-06-2025

Liang Mao from Alibaba mentioned that "for online interactive applications" something like 20 would be used in their setups. E.g. https://mail.openjdk.java.net/pipermail/hotspot-gc-dev/2020-June/030132.html
18-06-2020