
If a process selected for monitoring is not running any more, invoking the action just clears the process selection and shows a notification. If a process has already been selected for monitoring, VisualVM opens the process view at the defined tab. The action to start the VisualVM tool is bundled with an active GraalVM installation. The VisualVM pane provides the following actions and features: In the VisualVM pane, click the edit button and select the action to perform when the project is started. It starts reading Java processes, and then asks to select which process to monitor.īy default, VisualVM should not open when a Java process is started, but you can configure another behavior.

You can manually request checking Java processes that run concurrently by clicking the loop icon in the VisualVM: Process field. If you continue and invoke the actions like Thread dump, Heap dump, CPU sampler, Memory sampler, JFR, the prompt will ask you which process to monitor by VisualVM:


It you go to View, then Command Palette, and search for “VisualVM”, the following actions related to VisualVM are available:

This brings the visual Java tooling to VS Code. GraalVM Tools for Java extension provides integration with VisualVM, which is the all-in-one Java (and polyglot) monitoring and troubleshooting tool. JavaScript must be enabled to correctly display this content
