[8u] Request for enhancement backport approval for CR JDK-8027434: "-XX:OnOutOfMemoryError" uses fork instead of vfork

David Holmes david.holmes at oracle.com
Wed Oct 17 11:53:34 UTC 2018


Hi Sean,

On 17/10/2018 9:44 PM, Seán Coffey wrote:
> Muthusamy,
> 
> please look at fixing this in the 11 Updates release first. Also, can 
> you check with hotspot engineers around the suitability of this fix in 
> an update release ?

This is a very simple fix that only impacts users of 
-XX:OnOutOfMemoryError. I have no concerns about it going into any 
update release.

Thanks,
David

> Regards,
> Sean.
> 
> On 17/10/18 12:26, Muthusamy Chinnathambi wrote:
>> Hi,
>>
>> May I get the approval of enhancement backport of 'JDK-8027434: 
>> "-XX:OnOutOfMemoryError" uses fork instead of vfork' to jdk8u-dev.
>>
>> Jdk12 bug: https://bugs.openjdk.java.net/browse/JDK-8027434
>>
>> Short description of the change:
>> When the system does not have enough memory available to fork, the 
>> option "-XX:OnOutOfMemoryError" may not work. Even a simple command 
>> "kill" does not get executed. This change is to use vfork instead of 
>> fork during "OnOutOfMemoryError".
>>
>> I have tested it with the jprt and jtreg tests.
>>
>> Regards,
>> Muthusamy C
> 


More information about the jdk8u-dev mailing list