JDK-6979279 : remove special-case code for ParallelGCThreads==0
Type:Enhancement
Component:hotspot
Sub-Component:gc
Affected Version:hs19
Priority:P4
Status:Resolved
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2010-08-23
Updated:2015-06-03
Resolved:2014-10-21
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.
The CMS, ParNew and G1 collectors have special case code that is executed only when ParallelGCThreads==0. This code is not tested regularly and should be removed.
Comments
Even if ParallelGCThreads is manually set to 0, the option should show the actual value in -XX:+PrintFlagsFinal
25-09-2014
EVALUATION
In addition to removing code executed only when ParallelGCThreads==0, argument processing should be changed to ensure that ParallelGCThreads >= 1 when a collector capable of parallelism is active.