# Profiler Window

Use to control the profiling session and manage profiling results. Choose Window > Profiling > Profiler Control Panel to open the Profiler window.

In the Profiler window, you can do the following operations:

- Control the profiling task
- View the status of the current profiling session
- Open profiling results windows
- Take and manage profiling snapshots
- See basic telemetry statistics

The Profiler window contains the following sections. You can click the section name or node to hide or reveal the section.

Controls

This section contains commands for controlling the profiling session.

Element | Description
--- | ---
Rerun Profiling Session (Ctrl-Shift-F2) | Runs the last profiling command again.
Stop Profiling Session | Stops the current profiling command. Also stops the target application if the application was started by Profiler.
Reset Collected Results | Discards the already accumulated profiling results.
Run GC | Runs Garbage Collection.
Modify Profiling Session (Alt+Shift+F2) | Opens the Modify Profiling Task dialog box and enables you to run a new profiling command without stopping the target application.
VM Telemetry Overview | Opens the VM Telemetry Overview in the Output window of the IDE, displaying smaller versions of the telemetry graphs.
Detach | Detaches the IDE from the profiled application if the IDE is attached to an application.

Status

This section displays the status and type of the current profiling task.

Profiling Results

This section contains commands for displaying profiling results.

Element | Description
--- | ---
Take Snapshot | Takes a snapshot of the current profiling results and opens the snapshot in the main editor window.
Dump Heap | Takes a heap snapshot of the application.
Live Results | Opens the Live Results window.

Saved Snapshots

This section enables you to manage the profiling results snapshots associated with your project. When you select an open project in the drop-down list, the saved snapshots associated with that project are displayed. Double-clicking the name of the snapshot opens the snapshot in the Source Editor window.

The buttons to the right of the listed snapshots enable you to open and delete your saved snapshots. The Save As button enables you to save the selected snapshot to a location outside your project. The Load button enables you to locate and open snapshots saved outside your project.

Snapshots are listed according to when the snapshot was taken, with the most recent at the bottom. To open a snapshot, select the snapshot from the list and click Open, or double-click the name. Bold indicates that the snapshot tab is already open in the Source Editor window. The snapshot icon identifies the type of snapshot.

View

This section contains commands for displaying the results of application monitoring.

Element | Description
--- | ---
VM Telemetry | Opens the VM Telemetry window that displays data on thread activity and memory heap and garbage collection
Threads | Opens the Threads window that displays thread activity.
Lock Contention | Opens the Lock Contention window that displays locked threads and lock monitors.

Related Topics

Developing Applications with NetBeans IDE,

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.