你假笨JVM参数 - 006 ExplicitGCInvokesConcurrent

你假笨JVM参数分享全整理系列
微信小程序:JVMPocket - JVM参数交流平台,Javaer的神奇口袋

序号:006
时间:2017-07-31
参数:-XX:ExplicitGCInvokesConcurrent
含义:
Enables invoking of concurrent GC by using the System.gc() request.
This option is disabled by default and can be enabled only together with the -XX:+UseConcMarkSweepGC option.
System.gc()是正常FULL GC,会STW
打开此参数后,在做System.gc()时会做background模式CMS GC,即并行FULL GC,可提高FULL GC效率
注,该参数在允许systemGC且使用CMS GC时有效
更多详细内容阅读(强烈推荐)JVM源码分析之SystemGC完全解读
默认值:
你假笨JVM参数 - 006 ExplicitGCInvokesConcurrent
举例:
-XX:+ExplicitGCInvokesConcurrent
相关参数:
-XX:DisableExplicitGC 控制是否允许System.gc(),默认允许
相关文章:
分享记录:
你假笨JVM参数 - 006 ExplicitGCInvokesConcurrent
你假笨JVM参数 - 006 ExplicitGCInvokesConcurrent
你假笨JVM参数 - 006 ExplicitGCInvokesConcurrent
你假笨JVM参数 - 006 ExplicitGCInvokesConcurrent
你假笨JVM参数 - 006 ExplicitGCInvokesConcurrent
你假笨JVM参数 - 006 ExplicitGCInvokesConcurrent