RFR (XS) 8202014: Possible to receive signal before signal semaphore created

David Holmes david.holmes at oracle.com
Wed May 16 02:40:17 UTC 2018

Hi Coleen,

On 16/05/2018 11:23 AM, coleen.phillimore at oracle.com wrote:
> Summary: Don't assert for null semaphore because it can be null before 
> initialization is complete.

Sorry I don't agree with this. Surely we should not install our signal 
handler until such time as everything is properly initialized? Or the 
handler itself should have some kind of initialization check to guide 
how it responds.


> Tested this with a shell script, thanks Robbin, and mach5 tier1,2 all 
> Oracle platforms.  AIX doesn't use the semaphore class so doesn't have 
> this bug.
> open webrev at http://cr.openjdk.java.net/~coleenp/8202014.01/webrev
> bug link https://bugs.openjdk.java.net/browse/JDK-8202014
> Thanks,
> Coleen

More information about the hotspot-runtime-dev mailing list