jvisualvm manually installs the VisualGC plug-in

Preface

The author recently needed to check the GC situation when troubleshooting problems, so he used the tool jvisualvm. After consulting online information, he found that it has a plug-in called VisualGC that is very easy to use, so I will record the installation steps of the VisualGC plug-in in this article.

installation steps

Download plugin

First we have to go to the official website

https://visualvm.github.io/index.html

click to download

Insert image description here

Then select plugin download

Insert image description here

Download the corresponding plug-in according to your own jdk version

You can see the author’s jdk8 version 251

C:\Users\xxxx>java -version
java version "1.8.0_251"
Java(TM) SE Runtime Environment (build 1.8.0_251-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.251-b08, mixed mode)

So go to this version option to find the plug-in

Insert image description here

Finally click VisualGC to download

Insert image description here

Install

After completing the download, we can start the installation. We first open jvisualvm and select the plug-in option in the toolbar.

Insert image description here

Go to Downloaded and click Add Plug-in

Insert image description here

Find the plug-in, click to open it, and then select Install in the lower left corner.

Insert image description here

test

At this time we can check the GC situation of the Java process.

Insert image description here

references

VisualVM manually installs the VisualGC plug-in

Guess you like

Origin blog.csdn.net/shark_chili3007/article/details/107014615