总结几个G1垃圾收集器重要调优参数

大致按重要性排序
-XX:+UseG1GC
-Xmx< nG >
-Xms< nG >
-XX:MaxGCPauseMillis=< ms >
-XX:InitiatingHeapOccupancyPercent=< % >
-XX:+PrintGCDetails
-XX:+PrintAdaptiveSizePolicy
-XX:G1HeapRegionSize
-XX:+PrintReferenceGC
-XX:+ParallelRefProcEnabled
-XX:ParallelGCThreads=n
-XX:ConcGCThreads=n
-XX:G1MixedGCCountTarget=n
#
推荐几篇Monica文 
Tips for Tuning the Garbage First Garbage Collector 
Getting Started with the G1 Garbage Collector 
Garbage First Garbage Collector Tuning 
Silicon Valley Java Performance Meetup
--------------------- 
作者:liuzx32 
来源:CSDN 
原文:https://blog.csdn.net/liuzx32/article/details/56295503 
版权声明:本文为博主原创文章,转载请附上博文链接!

你可能感兴趣的:(java)