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

coleen.phillimore at oracle.com coleen.phillimore at oracle.com
Wed May 16 13:34:51 UTC 2018



On 5/15/18 10:40 PM, David Holmes wrote:
> 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.

Ok.  I'll try to move the initialization then.

Coleen
>
> Thanks,
> David
>
>> 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