Sep 17, 2018

Default Java threads which always appear, even in the simplest program

  • DestroyJavaVM
  • Signal Dispatcher
  • Finalizer
  • Reference Handler
  1. DestroyJavaVM is a thread that unloads the Java VM on program exit. Most of the time it should be waiting, until apocalypse of your VM.
  2. Signal Dispatcher is a thread that handles the native signals sent by the OS to your jvm.
  3. Finalizer threads pull objects from the finalization queue and calls it finalize method.
  4. Reference Handler is a high-priority thread to enqueue pending References. Its defined in