views:

210

answers:

3

I've got a java application on a windows machine which pins the CPU from time to time. Would like to run a utility to get an idea of how many threads etc that application is creating. Is there such a utility?

+2  A: 

I've always been partial to YourKit.

There are lots of others though, both open source and commercial. If you do a google search for "java profilers" you should be able to find one to your liking.

seth
+2  A: 

You could try jstack, should be part of the jdk.

mattwright
+3  A: 

jconsole is included with the jdk and includes thread/memory/cpu monitoring

Clint