JDK-8064865 : Remove the debug funciontality RotateCMSCollectionTypes for CMS
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-11-14
  • Updated: 2015-06-03
  • Resolved: 2014-11-18
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.
9 b42Fixed
Related Reports
Relates :  
The RotateCMSCollectionTypes flag is used in CMS to rotate between the three different kinds of collections of the old generation that CMS has; background collection, foreground collection and full compacting serial GC.

The functionality is only available in non-product builds.

With JDK-8064702 the foreground collector is being removed. This means that there are only two types left. The RotateCMSCollectionTypes flag is not being automatically tested and it is very rarely used. Rather than maintaining it we should remove this functionality. If we need this for debugging in the future it is a pretty simple patch to add back. But for the most part it should be possible to debug in other ways, by for example using ExplicitGCInvokesConcurrent flag and similar.