Skip to main content

Tomasz Nurkiewicz: Which Java thread consumes my CPU?

Tomasz Nurkiewicz analyzes Which Java thread consumes my CPU?:

What do you do when your Java application consumes 100% of the CPU? Turns out you can easily find the problematic thread(s) using built-in UNIX and JDK tools. No profilers or agents required. For the purpose of testing we'll use this simple program...

Community: