For offline profiling, you will need to save a snapshot
at some point in order to
evaluate the data of the profiling run with JProfiler's GUI front end later on.
The saveSnapshot
and saveSnapshotOnExit
methods in JProfiler's
profiling API do that job. For interactive
use, these method calls will do nothing.
In addition, you can optionally switch on CPU profiling a a suitable point and trigger heap dumps with the profiling API.