Archived

This topic is now archived and is closed to further replies.

[java] Java optimizers

This topic is 4955 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

The Java VM has a profiler built-in, you just need to launch your app with the right command args to enable it. Full details are in the SDK docs, but you basically need something like:
-Xrunhprof:cpu=samples,file="C:\Profile.txt"

However the output it produces is somewhat difficult to read manually. Grab yourself something like HPJMeter (free, google it) and it''ll produce graphs and such from the output.

Share this post


Link to post
Share on other sites