JVM Performance Tuning Tools and Commands
jstat: Monitoring Class Loading, Memory, and Garbage Collection
The jstat utility provides performance statistics for a specified Java Virtual Machine (JVM). It can display information about class loading, memory usage, and garbage collection (GC) activities.
Common Options:
-class: Displays class loader statistics.
-compiler: Displays informa ...
Posted on Sun, 07 Jun 2026 16:50:42 +0000 by renj0806
Java Thread Diagnostics: CPU Overload and Deadlock Analysis
When a Java application exhibits high CPU usage or becomes unresponsive, diagnosing the root cause requires systematic inspection of thread behavior using native OS tools and JVM utilities.
Identifying High CPU Consumption
First, launch the application in the background:
nohup java -jar JvmProject.jar &
[1] 1790
Use top to identify the pr ...
Posted on Thu, 14 May 2026 19:35:22 +0000 by Iank1968