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:22:01 UTC 2025
On Wed, 15 Oct 2025 01:26:58 GMT, David Holmes <dholmes at openjdk.org> wrote:
> > I don't understand how those semaphore were guaranteed to be correctly initialized before
>
> It was statically initialized as part of loading libjvm.
I understand that part. I still don't understand how it was *correctly* initialized with a proper call to the C++ constructor. Maybe I'll see if I can catch that in the debugger.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27762#issuecomment-3404732262
More information about the hotspot-runtime-dev
mailing list