Integrated: 8357481: Excessive CompileTask wait/notify monitor creation
Aleksey Shipilev
shade at openjdk.org
Mon Jun 2 13:10:58 UTC 2025
On Wed, 21 May 2025 18:40:24 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> See bug for rationale.
>
> This PR implements the 2nd solution from the bug: lift the lock to be global. As described in the bug, excess locking work would realistically affect Xcomp, and only in a minor way. But we will reap a minor footprint/latency benefit by not constructing the lock for every `CompileTask`.
>
> Additional testing:
> - [x] Linux x86_64 server fastdebug, `compiler`
> - [x] Linux x86_64 server fastdebug, `all`
> - [x] Linux AArch64 server fastdebug, `all`
This pull request has now been integrated.
Changeset: b3594c9e
Author: Aleksey Shipilev <shade at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/b3594c9e5508101a39d10099830f04b0c09ad41f
Stats: 26 lines in 5 files changed: 5 ins; 10 del; 11 mod
8357481: Excessive CompileTask wait/notify monitor creation
Reviewed-by: vlivanov, kvn
-------------
PR: https://git.openjdk.org/jdk/pull/25364
More information about the hotspot-dev
mailing list