JDK-8155093 : Move the number of active worker threads out of WorkGang
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 9
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2016-04-26
  • Updated: 2019-09-03
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.
Other
tbdUnresolved
Related Reports
Blocks :  
Description
WorkGang::_active_workers stores the current number of active workers for a given work gang. This value is repeatedly set from outside.

It seems better to move this member out of the basic WorkGang, as the "optimal" number of threads for a given task highly depends on the task itself. (I.e. maybe into AbstractGangTask)