waterye

          -XX:+UseConcMarkSweepGC

          系統(tǒng)這兩天出現(xiàn)了長時(shí)間的full gc, 使用-XX:+UseConcMarkSweepGC后,系統(tǒng)正常
           
          5.4 The Concurrent Low Pause Collector
          The concurrent low pause collector is a generational collector similar to the serial collector. The tenured generation is collected concurrently with this collector.
          This collector attempts to reduce the pause times needed to collect the tenured generation. It uses a separate garbage collector thread to do parts of the major collection concurrently with the applications threads. The concurrent collector is enabled with the command line option -XX:+UseConcMarkSweepGC. For each major collection the concurrent collector will pause all the application threads for a brief period at the beginning of the collection and toward the middle of the collection. The second pause tends to be the longer of the two pauses and multiple threads are used to do the collection work during that pause. The remainder of the collection is done with a garbage collector thread that runs concurrently with the application. The minor collections are done in a manner similar to the serial collector although multiple threads are used to do the collection. See "Parallel Minor Collection Options with the Concurrent Collector" below for information on using multiple threads with the concurrent low pause collector.
          The techniques used in the concurrent collector (for the collection of the tenured generation) are described at:
          http://research.sun.com/techrep/2000/abstract-88.html


          http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html

          print gc.log
          -verbose:gc -Xloggc:gc.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC -XX:+PrintTenuringDistribution

          posted on 2007-12-28 19:41 waterye 閱讀(4766) 評(píng)論(0)  編輯  收藏 所屬分類: Java


          只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 甘洛县| 韶关市| 上高县| 兴安盟| 沂源县| 化德县| 大化| 台江县| 辽中县| 江北区| 富蕴县| 平湖市| 肇庆市| 和静县| 宁波市| 闽侯县| 余庆县| 文昌市| 冷水江市| 五指山市| 兴义市| 孟州市| 当阳市| 临清市| 静安区| 鄂尔多斯市| 康平县| 武强县| 若羌县| 开阳县| 友谊县| 平泉县| 合江县| 文水县| 韶山市| 芷江| 林州市| 会泽县| 敖汉旗| 泗阳县| 罗山县|