Description: The Code Cache page contains information about the JVM code cache.

Go to primary content

| Previous | Next |

# Using the Code Cache Page

The Code Cache page contains information about the JVM code cache.

This page displays code cache information both tables and graphs.

Using the Code Cache Page: Selections and Aspects

Use the drop-down menus at the top of the page to choose a selection and aspect if desired. Data from other pages can be saved to the selection drop-down menu by dragging an area of a chart (or selecting data from a table) and choosing Store Selection or Store Selection and Set As Focused Selection from the context menu.

The following controls provide additional behavior:

- Show concurrent: Show all events concurrent to the selected aspect.

- Contained: Only show events that are fully contained in the time range from the active selection aspect

- Same threads: Only show events in threads related to the active selection aspect.

Using the Code Cache Page: Tables and Graphs

You can select the following data to be displayed on the graph:

- Entries:

- Profiled Nmethods Unallocated: Amount of unallocated space in the profiled nmethods heap.

- non-Profiled Nmethods Unallocated: Amount of unallocated space in the non-profiled nmethods heap.

- Non-Nmethods Unallocated: Amount of unallocated space in the non-nmethods heap.

- Profiled Nmethod Entries: Amount of entries in the profiled nmethods heap.

- Non-Profiled Nmethod Entires: Amount of entries in the non-profiled nmethods heap.

- Non-Nmethods Entries: Amount of entries in the non-nmethods heap.

- Non-Nmethods Adaptors: Amount of adaptors in the non-nmethods heap.

- Profiled Methods: Amount of entries in the profiled nmethods heap.

- Non-Profiled Methods: Amount of entries in the non-profiled nmethods heap.

- Methods Swept: The total number of methods swept.

- Methods Flushed: The total number of methods flushed.

- Methods Reclaimed: The total number methods reclaimed.

- Methods Zombified: The total number of methods zombified.

- Sweeps: The number of code cache sweeps.

Table columns are labeled as follows:

- Start Time: The start time of the code cache sweep.

- Sweep Index:

- Sweep Fraction Index:

- Duration: The time the sweep took to complete.

- Methods Flushed: The number of methods flushed during the sweep.

- Methods Reclaimed: The number of methods reclaimed during the sweep.

- Methods Swept: The number of methods swept during the sweep.

- Methods Zombified: The number of methods zombified during the sweep.

- Thread: The name of the thread that ran the sweep.

Copyright © 2018, 2022, Oracle and/or its affiliates. All rights reserved. | Previous | Next |