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:

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)

Rerun icon.

Runs the last profiling command again.

Stop Profiling Session

Stop profiling icon.

Stops the current profiling command.

Also stops the target application if the application was started by Profiler.

Reset Collected Results

Reset results icon.

Discards the already accumulated profiling results.

Run GC

Run garbage collection icon.

Runs Garbage Collection.

Modify Profiling Session

(Alt+Shift+F2)

Modify profiling task icon.

Opens the Modify Profiling Task dialog box and enables you to run a new profiling command without stopping the target application.

VM Telemetry Overview

Telemetry overview icon.

Opens the VM Telemetry Overview in the Output window of the IDE, displaying smaller versions of the telemetry graphs.

Detach

Detach icon.

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

Take snapshot icon.

Takes a snapshot of the current profiling results and opens the snapshot in the main editor window.

Dump Heap

Dump heap icon.

Takes a heap snapshot of the application.

Live Results

Live results icon.

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

VM telemetry icon.

Opens the VM Telemetry window that displays data on thread activity and memory heap and garbage collection

Threads

Threads icon.

Opens the Threads window that displays thread activity.

Lock Contention

Lock Contention icon

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.