How do I profile a java server application using jprofiler9?

363 views Asked by At

I have passed the "agentlib" flag. Do I also need to set trigger to get the snapshots? I actually wanted to profile the entire run (including heap/gc dumps, CPU profiling of methods etc) from start to stop of the application. Can someone let us know how we can do this for ENTIRE application run? The help is not very clear on this.

1

There are 1 answers

5
Ingo Kegel On

This is called "offline profiling" in JProfiler and requires you to set up triggers.

You define a trigger for "JVM startup" where you start the recordings that you are interested in and a "JVM exit" trigger where you save a snapshot.

For more information, see

http://resources.ej-technologies.com/jprofiler/help/doc/helptopics/config/triggers.html