You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because shutdown hooks and finalizers can block the exiting thread indefinitely. Switch to using Runtime.halt() -- there is not much we can do to prevent finalizers from deadlocking.
The text was updated successfully, but these errors were encountered:
Even halt won't terminate the JVM if one of the threads is in native code or God knows what other condition holds. We should just ignore those JVMs, possibly firing some message back to the user.
Because shutdown hooks and finalizers can block the exiting thread indefinitely. Switch to using Runtime.halt() -- there is not much we can do to prevent finalizers from deadlocking.
The text was updated successfully, but these errors were encountered: