YuNing's Thought

Home

❯

Notes

❯

JVM

JVM

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 v4.5.2 © 2025

  • GitHub
  • Discord Community