Using the JRockit Flight Recorder as an Exception Profiler.

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.

start_recording

2. Select the Profiling with Exceptions template.

wizard 

3. Wait for the recording to finish. The count down for the time left will show in the Flight Recorder Control view.

time_remaining

4. When done the recording will automatically be downloaded and displayed. To show the exceptions, go to the Code | Exceptions tab.

exceptions

Comments:

Post a Comment:
Comments are closed for this entry.
About

A blog focused on JVM technology and Mission Control

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today