JDK-8034246 : remove CMS and ParNew adaptive size policy code
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-02-12
  • Updated: 2018-10-30
  • Resolved: 2014-06-27
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 9
9 b24Fixed
Related Reports
Relates :  
Relates :  
Description
The adaptive size policy code for CMS and ParNew is incomplete and cannot be used (there is code in place to prevent if from being enabled) and we do not have a plan to finish it.  The code should be removed.

Comments
Use an instance of the shared AdaptiveSizePolicy class for CMS' size policy instead of CMSAdaptiveSizePolicy and remove calls to CMS-specific size policy methods (most are guarded by "if (UseAdaptiveGCPolicy)". This should allow deletion of the files cmsAdaptiveSizePolicy.* and cmsGCAdaptivePolicyCounters.*. The files asParNewGeneration.* can also be removed.
12-02-2014