当前位置:网站首页>JVM parameter interpretation
JVM parameter interpretation
2022-06-25 13:14:00 【Wanghuiju】
JVM Common parameters in
Xms Starting memory
Xmx Maximum memory
Xmn New generation memory
Xss Stack size . After the thread is created , The amount of memory allocated to each thread
-XX:NewRatio=n: Set the ratio of young generation to old generation . Such as : by 3, The ratio of young generation to old generation is 1:3, The younger generation makes up the younger generation and the older generation 1/4
-XX:SurvivorRatio=n: Young generation Eden District and two Survivor Area ratio . Be careful Survivor There are two. . Such as :3, Express Eden:Survivor=3:2, One Survivor District accounts for the whole young generation 1/5
-XX:MaxPermSize=n: Set persistent generation size
Collector settings
-XX:+UseSerialGC: Set up a serial collector
-XX:+UseParallelGC: Set up parallel collectors
-XX:+UseParalledlOldGC: Set up parallel older collector
-XX:+UseConcMarkSweepGC: Set up concurrent collectors
Garbage collection statistics
-XX:+PrintGC
-XX:+PrintGCDetails
-XX:+PrintGCTimeStamps
-Xloggc:filename
Parallel collector settings
-XX:ParallelGCThreads=n: Set the... Used by the parallel collector collection CPU Count . Number of parallel collection threads .
-XX:MaxGCPauseMillis=n: Set the maximum pause time for parallel collection
-XX:GCTimeRatio=n: Set the percentage of garbage collection time in the running time of the program . Formula for 1/(1+n)
Concurrent collector settings
-XX:+CMSIncrementalMode: Set to incremental mode . Applicable to single CPU situation .
-XX:ParallelGCThreads=n: When setting the collection mode of the younger generation of the concurrent collector to parallel collection , The use of CPU Count . Number of parallel collection threads .
边栏推荐
- Jupyter Notebook主题字体设置及自动代码补全
- Geospatial search: implementation principle of KD tree
- Meichuang was selected into the list of "2022 CCIA top 50 Chinese network security competitiveness"
- list. replace, str.append
- 汇编标志位相关知识点(连)
- 英语口语 - 弱读
- QT mouse tracking
- Where is it safe to open an account for buying funds? Please give me your advice
- 剑指offer 第 3 天字符串(简单)
- 解析数仓lazyagg查询重写优化
猜你喜欢

美创入选“2022 CCIA中国网络安全竞争力50强”榜单

Summer Ending

关于结构体,枚举,联合的一些知识

Three lines of code to simply modify the project code of the jar package

Maui的学习之路(二)--设置

Possible problems when idea encounters errors occurred while compiling module (solved)

Summer Ending

几分钟上线一个网站 真是神器
![[turn] starting from the end, analyze in detail how to fill in the college entrance examination volunteer](/img/77/715454c8203d722e246ed70e1fe0d8.png)
[turn] starting from the end, analyze in detail how to fill in the college entrance examination volunteer

Resolution of PPT paper drawing
随机推荐
torch. Tensor splicing and list (tensors)
[machine learning] model and cost function
剑指 Offer II 029. 排序的循环链表
MySQL writes user-defined functions and stored procedure syntax (a detailed case is attached, and the problem has been solved: errors are reported when running user-defined functions, and errors are r
利用cmd(命令提示符)安装mysql&&配置环境
You can't specify target table 'xxx' for update in from clause
Maui's learning path (II) -- setting
Serevlt初识
词法陷阱(C)
出手即不凡,这很 Oracle!
买基金在哪里开户安全?还请赐教
关于数据在内存中存储的相关例题
英语口语 - 连读
New Gospel of drug design: Tencent, together with China University of science and technology and Zhejiang University, developed an adaptive graph learning method to predict molecular interactions and
Back test of quantitative trading - example of futures CTA strategy (tqzfuturerenkoscalpingstrategy)
Sword finger offer II 025 Adding two numbers in a linked list
时间过滤器(el-table)中使用
Fedora 35 部署DNS主从和分离解析 —— 筑梦之路
Alibaba stability fault emergency handling process
Native JS --- infinite scrolling