Many Java daemons are multi threaded. If some program shows high cpu usage, how will you analyze it? I'm showing the tip based on Linux environment. 1) Detect problemetic thread Usually linux "top" shows total cpu usage of a process. Therefore we need to separate problematic thread. While running top, press "H" or start top … Continue reading How to analyze high cpu usage of a Java program?