RFR: 8210889: Some service thread cleanups can be starved
Kim Barrett
kim.barrett at oracle.com
Wed Sep 19 00:46:36 UTC 2018
Please review this small change to the ServiceThread. When checking
for work to be done, rather than immediately doing the first kind of
work found, instead determine all pending work and then do all known
pending work. This avoids the possibility of frequently available
work early in the sequence of checks from leading to starvation of
work associated with later checks.
CR:
https://bugs.openjdk.java.net/browse/JDK-8210889
Webrev:
http://cr.openjdk.java.net/~kbarrett/8210889/open.00/
Testing:
mach5 tier1-3
More information about the hotspot-runtime-dev
mailing list