Java monitoring tool—VisualVM

introduce

VisualVM is a free visual tool that integrates multiple JDK command line tools. It can provide you with powerful analysis capabilities to perform performance analysis and tuning of Java applications. These capabilities include generating and analyzing massive amounts of data, tracking memory leaks, monitoring the garbage collector, performing memory and CPU analysis, and it also supports browsing and manipulation on MBeans. This article mainly introduces how to use VisualVM for performance analysis and tuning.

Download address: http://visualvm.github.io/download.html

Simple to use

After downloading, open the file in the bin directory
Insert image description here

Run a program to check the Heap usage. Please explore the specific usage by yourself.
Insert image description here

Guess you like

Origin blog.csdn.net/m0_46521785/article/details/120300515