Integrated: 8369631: Assess and remedy any unsafe usage of the sr_semaphore Semaphore in the Posix signal code

David Holmes dholmes at openjdk.org
Mon Oct 20 00:10:17 UTC 2025


On Mon, 13 Oct 2025 06:52:32 GMT, David Holmes <dholmes at openjdk.org> wrote:

> Replace the statically allocated "semaphore" with a pointer and lazily initialize it. I chose this approach as we already have a second Semaphore declared that way.
> 
> Testing:
> - tiers 1-3 sanity
> 
> Thanks.

This pull request has now been integrated.

Changeset: 680414d0
Author:    David Holmes <dholmes at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/680414d0f9ab75d888bcb284cc494124a01a388f
Stats:     25 lines in 1 file changed: 8 ins; 5 del; 12 mod

8369631: Assess and remedy any unsafe usage of the sr_semaphore Semaphore in the Posix signal code

Reviewed-by: stefank, kbarrett

-------------

PR: https://git.openjdk.org/jdk/pull/27762


More information about the hotspot-runtime-dev mailing list