Integrated: 8324983: race in CompileBroker::possibly_add_compiler_threads
Tom Rodriguez
never at openjdk.org
Tue Feb 6 16:30:02 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.
This pull request has now been integrated.
Changeset: 19936526
Author: Tom Rodriguez <never at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/1993652653eab8dd7ce2221a97cd2e401f2dcf56
Stats: 12 lines in 2 files changed: 10 ins; 1 del; 1 mod
8324983: race in CompileBroker::possibly_add_compiler_threads
Reviewed-by: kvn, dholmes, dnsimon
-------------
PR: https://git.openjdk.org/jdk/pull/17662
More information about the hotspot-dev
mailing list