On Thu, 7 Jul 2022 08:03:52 GMT, David Holmes <dhol...@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.

The "that" I was referring to / disagreeing with is about the window for
exit(non-zero), which I think won't ever open if any hook doesn't terminate.

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

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

Reply via email to