YuNing's Thought

Home

❯

Notes

❯

JVM

JVM

Properties
1
aliases
—

Nov 05, 20231 min read

  • System.exit(int status) - Equivalent to Runtime.getRuntime().exit(status)
  • Runtime.exit(int status) - Terminates the currently running JVM by initiating its shutdown sequence (run all registered shutdown hooks, and uninvoked finalizers, if necessary). Once this is done the JVM halts.
  • Runtime.halt(int status) - Forcibly terminates the currently running JVM.

Graph View

Backlinks

  • Java

Created with Quartz v5.5.0 © 2026

  • GitHub
  • Discord Community