JVM Optimization Guide-Install and configure JVM visual monitoring

The following figure is the JVM memory layout (the division of the runtime data area) 

Refer to the official: https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-2.html#jvms-2.5  finishing

 

The main research area of ​​JVM is: method area and heap shared by threads

 Jdk comes with a JVM monitoring tool, but it also needs to cooperate with other plug-ins to better monitor the JVM.

Install VisualGC plug-in for easy viewing of JVM tuning effect later

Mine is installed, and every time it is shown here, I will show you a screenshot on another computer.

 After the basic environment is set up, this tool can be used to check the memory usage of the JVM later.

Guess you like

Origin blog.csdn.net/Coder_Boy_/article/details/110086130