How to install plugins in jvisualvm
Before you get started with jvisualvm, you should install 2 plugins.
- VisualVM-Sampler : helps profile cpu and memory consumed
- VisualVM-MBeans : helps in loading mbeans exposed by the target jvm
To install these, run jvisualvm by double-clicking it, click on the Tools > Plugins option in the menu bar, select the 2 plugins and click install as shown in the images below.