Using the JRockit Flight Recorder as an Exception Profiler.
By Hirt on May 03, 2010
There is a lot of new data points in the JRockit Flight Recorder compared to the data available in the old JRA. One set of data deals with exceptions and where they are thrown. In JRA, it was possible to tell how many exceptions were thrown, but it was not possible to determine from where they were thrown.
Here is how to do a recording with exception profiling enabled from JRockit Mission Control.
1. Right click on the JVM to profile, select Start Flight Recording.
2. Select the Profiling with Exceptions template.
3. Wait for the recording to finish. The count down for the time left will show in the Flight Recorder Control view.
4. When done the recording will automatically be downloaded and displayed. To show the exceptions, go to the Code | Exceptions tab.