RFR: 8369631: Assess and remedy any unsafe usage of the sr_semaphore Semaphore in the Posix signal code [v2]
Stefan Karlsson
stefank at openjdk.org
Wed Oct 15 06:26:05 UTC 2025
On Wed, 15 Oct 2025 01:27:37 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.
>
> David Holmes has updated the pull request incrementally with one additional commit since the last revision:
>
> Switch to DeferredStatic per Kim's request
Marked as reviewed by stefank (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/27762#pullrequestreview-3338563434
More information about the hotspot-runtime-dev
mailing list