Using the JRockit Flight Recorder as an Exception Profiler.
Posted
by Marcus Hirt
on Oracle Blogs
See other posts from Oracle Blogs
or by Marcus Hirt
Published on Mon, 03 May 2010 12:53:35 +0100
Indexed on
2010/05/03
12:08 UTC
Read the original article
Hit count: 512
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.
© Oracle Blogs or respective owner