你假笨JVM参数 - 006 ExplicitGCInvokesConcurrent

你假笨JVM参数分享全整理系列 你假笨JVM参数分享全整理系列
微信小程序:JVMPocket - JVM参数交流平台,Javaer的神奇口袋 微信小程序:JVMPocket - JVM参数交流平台,Javaer的神奇口袋
序号:006 序号:006
时间:2017-07-31 时间:2017-07-31
参数:-XX:ExplicitGCInvokesConcurrent 参数:-XX:ExplicitGCInvokesConcurrent
含义: 含义:
Enables invoking of concurrent GC by using the System.gc() request. 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. This option is disabled by default and can be enabled only together with the -XX:+UseConcMarkSweepGC option.
System.gc()是正常FULL GC,会STW System.gc()是正常FULL GC,会STW
打开此参数后,在做System.gc()时会做background模式CMS GC,即并行FULL GC,可提高FULL GC效率 打开此参数后,在做System.gc()时会做background模式CMS GC,即并行FULL GC,可提高FULL GC效率
注,该参数在允许systemGC且使用CMS GC时有效 注,该参数在允许systemGC且使用CMS GC时有效
更多详细内容阅读(强烈推荐) 更多详细内容阅读(强烈推荐)
默认值: 默认值:
举例: 举例:
-XX:+ExplicitGCInvokesConcurrent -XX:+ExplicitGCInvokesConcurrent
相关参数: 相关参数:
-XX:DisableExplicitGC 控制是否允许System.gc(),默认允许 -XX:DisableExplicitGC 控制是否允许System.gc(),默认允许
相关文章: 相关文章:
分享记录: 分享记录:
你假笨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时有效 更多详细内容阅读(强烈推荐) 默认值: 举例: -XX:+ExplicitGCInvokesConcurrent 相关参数: -XX:DisableExplicitGC 控制是否允许System.gc(),默认允许 相关文章: 分享记录:
经验分享 程序员 微信小程序 职场和发展