JDK-8140257 : Add support for "gc service threads" to ConcurrentGCThread
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-10-21
  • Updated: 2019-01-18
  • Resolved: 2016-03-13
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 b115Fixed
Related Reports
Relates :  
Description
GC Service threads include:
    - ConcurrentG1RefineThread
    - G1YoungRemSetSamplingThread
    - ConcurrentMarkThread

These threads have a common initialization/termination protocol in their run() and stop() methods. Pull these up to ConcurrentGCThread and add virtual run_service()/stop_service() methods.

There are a few extra complications that will also need to be handled (like G1StringDedupThread already has a static stop() method).