File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 1432
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: 9189

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: 42965
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 ]
I agree. Here's the link:
subject: JVM profiling - java ??
It's not a secret anymore!