RFR: 8140257: Add support for "gc service threads" to ConcurrentGCThread
derek.white at oracle.com
Fri Feb 26 16:56:07 UTC 2016
ConcurrentGCThread provides incomplete support for an initialization and
termination protocol for GC threads, so missing parts are duplicated in
almost all subclasses.
Move duplicated run(), and stop() methods up from subclasses
ConcurrentG1RefineThread, ConcurrentMarkThread, G1StringDedupThread, and
G1YoungRemSetSamplingThread to ConcurrentGCThread, as well as declare
virtual methods run_service() and stop_service.
Note that ConcurrentMarkSweepThread is the odd-ball subclass. It
implements it's own termination protocol, it provides it's own run() and
stop() methods, and does not use run_service() and stop_service().
*Tests*: jprt, Aurora "nightly" run (I think this is OK)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-gc-dev