JDK-8245087 : Use ratios instead of percentages in G1HeapSizingPolicy::expansion_amount
  • 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 :  
Blocks :  
Description
G1HeapSizingPolicy::expansion_amount bases its calculations on percentages instead of ratios for no reason. I.e. it adds a few seemingly unnecessary *100 multiplications.

Remvoe those

Logs may still print everything in percent.
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/dba2ba2c141a User: tschatzl Date: 2020-05-26 07:36:08 +0000
26-05-2020