RFR [9] 8154017: Shutdown hooks are racing against shutdown sequence, if System.exit()-calling thread is interrupted

Aleksey Shipilev aleksey.shipilev at oracle.com
Thu Jun 23 16:44:16 UTC 2016


On 23.06.2016 19:32, Chris Hegarty wrote:
> The shutdown hooks race against the shutdown sequence if the thread
> invoking System.exit() is interrupted.  This happens because
> ApplicationShutdownHooks::runHooks joins the shutdown hooks. This
> may lead to premature VM shutdown, with shutdown hooks not fully
> executed. 
> 
> http://cr.openjdk.java.net/~chegar/8154017/
> https://bugs.openjdk.java.net/browse/JDK-8154017

+1

Thanks,
-Aleksey




More information about the core-libs-dev mailing list