关于CMS: abort preclean due to time
来源:互联网 发布:淘宝优惠券 平台 搭建 编辑:程序博客网 时间:2024/05/16 09:56
hotspot的jvm目前主要支持4种gc,分别是:SerialGC, ParallelGC, ParallelOldGC和CMS GC。对于离线任务,更关注吞吐量,一般推荐ParallelOldGC;对于实时响应的任务,比如web server类似,推荐CMS gc。
详细的GC介绍可以参考bluedavy的介绍:http://rdc.taobao.com/team/jm/archives/654 还有hotspot jvm的官方文章:http://java.sun.com/j2se/reference/whitepapers/memorymanagement_whitepaper.pdf
我们的CMS full gc时,经常会看到如下信息:CMS: abort preclean due to time, 这个问题有篇文章讲的很透彻:https://blogs.oracle.com/jonthecollector/entry/did_you_know。主要的意思是:preclean是为了加速下一级的remark过程,因为remark过程是STW的。preclean过程中为了更好的使用parallel,它会等待一次小gc(默认等待5s),如果5s内小gc没来,就会强制开始STW remark过程,并打印信息abort preclean due to time。就是说,出现这个log实际上关系不大,除非我们发现remark过程耗时过久。
- 关于CMS: abort preclean due to time
- SQLite 出现问题“abort due to constraint violation”
- Mac OS 下安装 wget 报错-- [abort-due-to-no-makefile] Error 1
- Illegal instant due to time zone offset transition (Asia/Shanghai)
- 关于checkout android4.0.3源码Exited sync due to gc...
- 关于Context []startup failed due to previous errors
- 关于due to 能不能放在句首的问题
- 关于Context []startup failed due to previous errors
- 关于iOS的due to uncaught exception 'CALayerInvalidGeometry'错误
- simulation is not running in real time due to excessive cpu load
- Cannot parse "1986-05-04": Illegal instant due to time zone offset transition (Asia/Shanghai)
- NT_iOS笔记—提交报错:unable to process application at this time due to the following error
- due to, proportion.
- portscan due to nmap
- eclipse关于Unable to install breakpoint in due to missing line number
- [时钟同步]Can't create ASM instance on node2 during running root.sh on node2 due to Time Syc
- 关于Context []startup failed due to previous errors有效解决方式
- 关于Context []startup failed due to previous errors有效解决方式 .
- Robotium测试之——获取当前屏幕的大小
- RCU 机制
- centos yum cacti
- 为uboot增加自定义命令
- Android 百度地图-实现POI的搜索(搜索周边)
- 关于CMS: abort preclean due to time
- C++异常处理
- PS_PTLT_COMP_NAV
- 每一首歌曲
- 怎么在view上写字 并将写好字的view转为图片
- grep使用
- Lucene小练十二(分页搜索)
- Hive与Hbase的区别
- 【Android-Emulator】Android模拟器介绍和基本使用