JDK-8242901 : Duplicate PSYoung/OldGen max size functions
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 15
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-04-16
  • Updated: 2020-05-27
  • Resolved: 2020-05-13
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 b24Fixed
Related Reports
Relates :  
Relates :  
Description
After obsoleting -XX:UseAdaptiveGCBoundary there is a lingering cleanup to be done around the functions gen_size_limit for both PSYoungGen and PSOldGen. Each of those classes has another function (PSYoungGen::max_size() and PSOldGen::max_gen_size()) that seems to be duplicative of the respective gen_size_limit.  One of each pair should be removed, and naming should be regularized.

Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/26a4100f7102 User: kbarrett Date: 2020-05-13 21:10:58 +0000
13-05-2020