Home  >  Article  >  Java  >  10 recommended articles about jvm tuning

10 recommended articles about jvm tuning

黄舟
黄舟Original
2017-06-15 14:17:271315browse

JVM tuning is mainly for memory management tuning, including controlling the size of each generation and GC strategy. Since GC will suspend application threads when it starts garbage collection, which seriously affects performance, the purpose of tuning is to minimize the pause time of application threads caused by GC and reduce the number of Full GCs. The most critical parameters for generation size tuning: -Xms, -Xmx, -Xmn, -XX:SurvivorRatio, -XX:MaxTenuringThreshold, -XX:PermSize, -XX:MaxPermSize-Xms, -Xmx are usually set to the same value to avoid running The JVM memory must be continuously expanded. This value determines the maximum memory that the JVM heap can use. -Xmn determines the size of the new generation space. The ratio of the three areas of the new generation Eden, S0, and S1 can be controlled by -XX:SurvivorRatio (if the value is 4, it means: Eden:S0:S1 = 4:3:3)- XX:MaxTenuringThreshold control object

1. Java virtual machine learning - memory tuning

10 recommended articles about jvm tuning

Introduction: JVM tuning is mainly for memory management tuning, including controlling the size of each generation and GC strategy. Since GC will suspend application threads when it starts garbage collection, which seriously affects performance, the purpose of tuning is to minimize the pause time of application threads caused by GC and reduce the number of Full GCs.

2. Summary and analysis of JVM tuning techniques

10 recommended articles about jvm tuning

##Introduction: This article summarizes and analyzes JVM tuning techniques. Friends in need can refer to

3. WeblogicJVM Tuning

Introduction: 1. Modify the memory settings under weblogicuser_projectsdomainsbase_domainbin setDomainEnv.cmd file: The setting size is determined according to the actual situation if %JAVA_VENDOR%==Sun ( set WLS_MEM_ARGS_64BIT=-Xms512m –Xmx1024m set WLS_MEM_ARGS_32BIT=-Xms512m –Xmx1024m ) else ( set WLS

[Related Q&A recommendations]:

java - What is the difference between jvm parameters -verbose:gc and -XX:+PrintGC?

The above is the detailed content of 10 recommended articles about jvm tuning. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn