Jump to Content
  Previous Next
Content starts here

Viewing Specifics about Garbage Collections

The Garbage Collections section on the GC Events 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. 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).

To view one garbage collection in the Heap Usage chart and Details section
  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 section has also changed to show all the specifics about that garbage collection.

    The Details section changes name depending on if you selected an old collection or a young collection (see Figure 6-4).

    Figure 6-4 Viewing garbage collection in Heap Usage chart and Details section


    Viewing garbage collection in Heap Usage chart and Details section

To view many garbage collections in the Heap Usage chart
  1. Scroll in 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 (see Figure 6-5).

    Figure 6-5 Viewing multiple garbage collections in Heap Usage chart


    Viewing multiple garbage collections in Heap Usage chart

  Previous Next