[转]触发fullgc的条件
摘要:良好的状态是:minor gc比较多 full gc 比较少 因为fullgc时间比较慢,而且会占用CPU的时间片。 不好的状态是:minor gc比较少 full gc 比较多 这样程序就一直卡在full gc上了。 堆内存划分为 Eden、Survivor 和 Tenured/Old 空间,如下
阅读全文
posted @ 2017-08-29 14:52
posted @ 2017-08-29 14:52
posted @ 2017-08-29 10:44
posted @ 2017-08-25 16:05
posted @ 2017-08-21 18:19
posted @ 2017-08-18 19:49
posted @ 2017-08-01 17:53