由于时间的原因,CMS GC每秒运行一次中止预清洗

时间:2015-03-26 13:08:20

标签: java garbage-collection

此外,我们观察员的工作过程非常高并且不会下降,

Just im这是下面GC日志的副本,以及我的GC参数,参数。请你能给我一些建议 - 为什么工作集在这个过程中变得很高而且没有下降(现在它的2.2GB左右) - 我的GC参数或设置是否有任何问题:

JAVA 1.5 64位

   *-Xnoclassgc -XX:+AggressiveOpts  -XX:+UseConcMarkSweepGC   -XX:PermSize=24m -XX:MaxPermSize=128m  -XX:SurvivorRatio=2  -XX:MaxNewSize=96m  -XX:MaxHeapFreeRatio=40 -XX:MinHeapFreeRatio=20  -XX:NewRatio=3  
-XX:+DisableExplicitGC -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xms128m -Xmx2048m*


    *2015-03-25 09:03:47,664:::229547.664: [GC 229547.664: [ParNew: 53900K->4741K(73728K), 0.0262695 secs] 1972769K->1923679K(2072576K), 0.0264483 secs]*

和CMS -

2015-03-25 19:08:12,187:::265812.187: [GC [1 CMS-initial-mark: 1951263K(1998848K)] 1982060K(2072576K), 0.0100608 secs]
2015-03-25 19:08:12,198:::265812.198: [CMS-concurrent-mark-start]
2015-03-25 19:08:14,469:::265814.469: [CMS-concurrent-mark: 2.271/2.271 secs]
2015-03-25 19:08:14,469:::265814.469: [CMS-concurrent-preclean-start]
2015-03-25 19:08:14,475:::265814.475: [CMS-concurrent-preclean: 0.006/0.006 secs]
2015-03-25 19:08:14,475:::265814.475: [CMS-concurrent-abortable-preclean-start]
2015-03-22 17:18:00,000::: CMS: abort preclean due to time 265815.512: [CMS-concurrent-abortable-preclean: 0.099/1.038 secs]
2015-03-25 19:08:15,513:::265815.513: [GC[YG occupancy: 31752 K (73728 K)]265815.514: [Rescan (parallel) , 0.0196751 secs]265815.533: [weak refs processing, 0.0000057 secs] [1 CMS-remark: 1951263K(1998848K)] 1983016K(2072576K), 0.0197838 secs]*

0 个答案:

没有答案