public final class VMRuntime extends Object
Modifier and Type | Method and Description |
---|---|
static void |
initialize()
Initializes the VM: Runs all startup hooks that were registered during image building.
|
static void |
shutdown()
Shuts down the VM: Runs all shutdown hooks and waits for all finalization to complete.
|
public static void initialize()
Invoking this method more than once has no effect, i.e., startup hooks are only executed at the first invocation.
public static void shutdown()