- full gc频繁的分析及解决案例
现象
1 |
|
1 |
|
1 |
1 |
|
1 |
|
1 |
1 |
|
1 |
1 |
|
1 |
|
分析
1 |
|
1 |
|
1 |
1 |
|
1 |
|
1 |
|
1 |
|
1 |
|
1 |
|
1 2 |
|
1 |
|
1 |
1 |
|
1 |
1 |
|
1 |
1 |
|
1 |
|
1 2 |
|
先从解决问题的角度,看怎样造成频繁的full gc?
从分析CMS GC开始
1 |
|
1 |
|
1 |
|
1 |
|
1 |
|
1 |
|
1 |
|
1 |
|
1 2 |
|
1 |
|
1 |
|
1 |
1 |
|
1 |
|
1 2 |
|
1 2 |
|
1 2 3 |
|
1 2 |
|
1 |
|
1 2 |
|
1 |
|
1 2 |
|
1 2 |
|
1 |
|
1 2 |
|
1 |
|
1 |
|
1 2 |
|
1 |
|
1 |
|
1 2 |
|
1 2 |
|
1 |
|
1 |
|
1 |
|
1 |
|
1 |
|
1 |
1 |
|
1 |
|
1 |
|
1 2 |
|
1 |
频繁full gc的原因
1 2 |
|
1 |
|
1 |
1 |
|
1 |
|
1 |
|
1 |
|
1 |
|
解决
1 2 |
|
1 2 |
|
1 2 3 |
|
1 |
|
1 |
|
1 |
|
1 |
|
1 |
|
1 |
|
1 |
|
1 |
|
1 |
|
1 |
|
1 2 |
|
1 |
|
1 |
|
1 |
|
1 |
|
1 |
|
1 |
|
1 |
|
1 |
|
1 |
|
1 |
|
1 |
|
1 |
|
1 |
1 |
|
原文地址:https://www.cnblogs.com/lupeng2010/p/8252970.html