JDK-8245026 : PsAdaptiveSizePolicy::_old_gen_policy_is_ready is unused
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 15
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-05-14
  • Updated: 2024-12-20
  • Resolved: 2020-11-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 11 JDK 16
11.0.11-oracleFixed 16 b27Fixed
Description
PsAdaptiveSizePolicy::_old_gen_policy_is_ready is initialized, is assigned, and has an accessor, but is never read and the accessor is never called.  It can be removed.

Comments
Fix Request (11u) This cleans up the code a bit, and keeps codebases in sync (I see 11.0.11-oracle). 11u RFR (acked by Martin): https://mail.openjdk.java.net/pipermail/jdk-updates-dev/2021-January/004554.html
05-01-2021

Changeset: a8e3eabb Author: Joakim Nordström <joakim.nordstrom@oracle.com> Committer: Stefan Johansson <sjohanss@openjdk.org> Date: 2020-11-26 07:31:09 +0000 URL: https://github.com/openjdk/jdk/commit/a8e3eabb
26-11-2020