On the Java Posse mailing list, someone posted a question about a JVM that was eating CPU like candy from a baby.
Here's the problem from the mailing list:
I found a java process whose cpu is almost 100% at my notebook.
Here is the top output:
PID USER????? PR? NI? VIRT? RES? SHR S %CPU %MEM TIME+
6150 root????? 20?? 0 1411m 612m? 12m R 98.8 15.7? 45:49.12
and the jstack output for thread 6150(0x1806):
"VM Thread" prio=10 tid=0x0000000040ca9000 nid=0x1806 runnable
the last is jstat -gc output: