Skip to content

aleksi-kangas/VisualVM-Integration

Repository files navigation

VisualVM Integration

VisualVM Integration text

Settings

The plugin settings can be found in the File > Settings dialog under the Tools section. The path to the VisualVM executable is required. The other options are optional. See the VisualVM Command Line Options for more information.

Settings

Usage

The integration plugin offers a Tools > VisualVM menu item that can be used to launch VisualVM.

ToolsMenu

When an application is running, the Run menu bar offers the following VisualVM actions:

RunMenuBar

  • Attach
    • Attaching to the running process, i.e. opening the process view in VisualVM
  • Thread Dump
    • Takes a thread dump and opens it in VisualVM
  • Heap Dump
    • Takes a heap dump and opens it in VisualVM
  • Start CPU Sampler
    • Starts CPU sampling
  • Start Memory Sampler
    • Starts memory sampling
  • Sampler Snapshot
    • Takes a sampler snapshot and opens it in VisualVM
  • Stop Sampler
    • Stops sampling

The actions may also be manually added to e.g. debugger menu bar, if so desired. The only requirement is that the PID (process ID) is resolvable from the context. Automatic PID selection may be turned off in the plugin settings, and in such a case a popup menu for PID selection is displayed.

ManualPIDSelection