RFR: 8324983: race in CompileBroker::possibly_add_compiler_threads
Vladimir Kozlov
kvn at openjdk.org
Thu Feb 1 03:05:03 UTC 2024
On Wed, 31 Jan 2024 21:35:05 GMT, Tom Rodriguez <never at openjdk.org> wrote:
> The number of active compiler threads is decremented before the compiler thread has actually activated so possibly_add_compiler_thread might start a new thread on the existing JavaThread. This adds a check that it's really exiting before proceeding and some new guarantees that ensure threads aren't started on top running threads.
Good.
-------------
Marked as reviewed by kvn (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/17662#pullrequestreview-1855291021
More information about the hotspot-dev
mailing list