JVM相关

 

JVM内存调优实践+模拟案例:

https://blog.csdn.net/u010372867/article/details/53380036

 

 

 

关于JDK8, 内存区域分布和JVM参数设置的关系,这张图比较好:

 

-server -Xms4608m -Xmx4608m -Xmn2048m -Xss256k -XX:MetaspaceSize=1024m -XX:MaxMetaspaceSize=1024m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:CMSFullGCsBeforeCompaction=5 -XX:+UseCMSCompactAtFullCollection -XX:+CMSClassUnloadingEnabled -XX:+DisableExplicitGC -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/home/admin/logs

 

 

 

 

 

 

 

 

 

 

 

 

openjdk/hotspot/src/share/vm/services/memoryService.cpp 

 

 

 

 

 

 

https://www.cnblogs.com/fwpsl/p/7080652.html

 

 

 

 

jstat -gcutil <pid> <2s> <count> 

 

https://li5jun.com/article/289.html

https://www.cnblogs.com/redcreen/archive/2011/05/05/2038331.html

 

posted @ 2020-06-01 20:00  justinzhang  阅读(189)  评论(0编辑  收藏  举报