RFR: 8288984: Simplification in java.lang.Runtime::exit [v2]

David Holmes dholmes at openjdk.org
Thu Jul 7 08:07:29 UTC 2022


On Tue, 5 Jul 2022 21:56:27 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> I think that isn't true. If a hook doesn't terminate then VM.shutdown doesn't get called, so the window never gets cracked opened to call halt directly.

@kimbarrett  Any thread can call halt() directly while the attempted shutdown is in progress.

-------------

PR: https://git.openjdk.org/jdk/pull/9351


More information about the core-libs-dev mailing list