Jump to Content
  Previous Next
Content starts here

Viewing Specifics about Garbage Collections

The Garbage Collections table on the GCs tab is a list of all garbage collections that have taken place during the recording. It lists all garbage collection events during the recording, provided that the garbage collection sampling was enabled. If you use the dynamic garbage a garbage collection can be an old collection, which is a garbage collection in the old space of the Java heap or a young collection, which is a garbage collection in the young space (nursery). If you use a static garbage collector, there will not be any old or young collections. For more information on garbage collections, please see Garbage Collection in BEA JRockit in the BEA JRockit Diagnostics Guide.

This section is divided into the following topics:

To view one garbage collection in the GC Chart
  1. Scroll in the Garbage Collection list to the garbage collection you want to view.
  2. Click on that garbage collection.
  3. The garbage collection index number is now visible in the GC Chart and the Details panel has also changed to show all the specifics about that garbage collection.

    The Details panel changes name depending on if the selected event is an old collection or a young collection (Figure 9-5).

    Figure 9-5 Viewing one garbage collection


    Viewing one garbage collection

To view many garbage collections in GC Chart
  1. Scroll the Garbage Collections list.
  2. Click and hold either the Shift key or Ctrl key to select multiple collections.
  3. The garbage collection index numbers are now visible in the GC Chart (Figure 9-6).

    Note: The garbage collection event that was last selected is the one that is displayed in the Details panel.
    Figure 9-6 Viewing multiple garbage collections


    Viewing multiple garbage collections

  Previous Next