你假笨JVM参数 - 004 MaxTenuringThreshold
你假笨JVM参数分享全整理系列
微信小程序:JVMPocket - JVM参数交流平台,Javaer的神奇口袋
序号:004
时间:2017-07-21
参数:-XX:MaxTenuringThreshold
含义:
Sets the maximum tenuring threshold for use in adaptive GC sizing.
The largest value is 15.
The default value is 15 for the parallel (throughput) collector, and 6 for the CMS collector.
在可自动调整对象晋升老年代年龄阈值的GC中,该参数用于设置上述年龄阈值的最大值
参数值最大为15
Parallel Scavenge中默认值为15,CMS中默认值为6,G1中默认值为15
默认值:
举例:
-XX:MaxTenuringThreshold=8
相关文章:
分享记录: