Skip Headers
Previous
Previous
 
Next
Next

JFR Buffer

Buffers are critical to the efficacy of the JFR. The size of the buffer determines when and how data is removed from the disk buffers. Data can be discarded either after evaluating its age, or the size of the buffer, or a combination of both. This topic describes these features:

Buffer Modes

You can configure the buffer sizing mode at the command line when you start the JFR. You can select from one of two modes:

For more information on setting the buffer mode, see the JRockit Flight Recorder Runtime User Guide on the Oracle Technology Network.

Buffer Sizing Parameters

The Flight Recorder moves or discards data from the buffers when the any of the following conditions exist:

For more information on setting the buffer size, see the JRockit Flight Recorder Runtime User Guide on the Oracle Technology Network.

Information overlap between the various buffers will not occur. A particular chunk of data is available either in memory or on disk, but never both. This has the following implications:

In some extreme cases, Oracle JRockit will drop events order to not block the JVM from running. Any data that can not be written fast enough to disk will be discarded. When this happens, the recording file will include information on which time period was affected. This information will also be logged to JRockit's logging facility.