This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Performance and the fly likes JVM profiling - java ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "JVM profiling - java ??" Watch "JVM profiling - java ??" New topic

JVM profiling - java ??

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1404
I have a plan to write my own profiling tool thru java. Is it possible for JVM profiling via java code ?
Joe Ess

Joined: Oct 29, 2001
Posts: 9168

If you look into the documentation for the Monitoring and Management API, you'll find an example has already been implemented, JConsole.

[How To Ask Questions On JavaRanch]
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
There are also a number of open source options on SourceForge which do not require Java 1.5 (as the one suggested does, I believe). Search for JVMPI.
[ July 07, 2005: Message edited by: Ulf Dittmer ]
It is sorta covered in the JavaRanch Style Guide.
subject: JVM profiling - java ??
It's not a secret anymore!