jdk/src/share/classes/java/lang/Shutdown.java
/* The halt method is synchronized on the halt lock
* to avoid corruption of the delete-on-shutdown file list.
* It invokes the true native halt method.
*/
static void halt(int status) {
{- -------------------------------------------
(1) 排他を取った状態で Java_java_lang_Shutdown_halt0() を呼び出すだけ.
---------------------------------------- -}
synchronized (haltLock) {
halt0(status);
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.