Searched refs:registerShutdownInProgress (Results 1 - 3 of 3) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/misc/
H A DJavaLangAccess.java61 * It is expected that this method with registerShutdownInProgress=true
68 * @params registerShutdownInProgress true to allow the hook
75 void registerShutdownHook(int slot, boolean registerShutdownInProgress, Runnable hook); argument
/openjdk7/jdk/src/share/classes/java/lang/
H A DShutdown.java78 * The registerShutdownInProgress parameter should be false except
85 * @params registerShutdownInProgress true to allow the hook
90 * if registerShutdownInProgress is false and shutdown is in progress; or
91 * if registerShutdownInProgress is true and the shutdown process
94 static void add(int slot, boolean registerShutdownInProgress, Runnable hook) { argument
99 if (!registerShutdownInProgress) {
H A DSystem.java1193 public void registerShutdownHook(int slot, boolean registerShutdownInProgress, Runnable hook) {
1194 Shutdown.add(slot, registerShutdownInProgress, hook);

Completed in 33 milliseconds