Lot of us know that JVM pauses entire application for garbage collection. But there are also other reasons for which JVM pauses application. For certain VM operations, certain JVMTI operations and JIT actions JVM pauses the application. Here are few such cases:

  • Unloading of classes
  • Moving Objects around to fix memory defragmentation
  • Code Deoptimization
  • Flushing code cache
  • Class redefinition ...

Letís learn how much time application threads are stopped in the Safepoint.

Total time for which application threads were stopped