关闭

知识库--GC+CMS(70)

标签: cms
93人阅读 评论(0) 收藏 举报
分类:

Concurrent Mark-Sweep (CMS) Collector

For many applications, end-to-end throughput is not as important as fast response time. Young generation collections do not typically cause pauses. Howerver, old generation collections, through infrequent, can impose long pauses, especially when large heaps are involved. To address this issue, the HotSpot JVM includes a collector called the concurrent mark-sweep collector, also known as the low-latency collector.(CMS)

//增量模式
Incremental Model
The CMS collector can be used in which the concurrent phases are done incrementally. This model is meant to lessen the impact of long concurrent phases by periodically stopping the concurrent phase to yield back processing to the application. The work done by the collector is divided into small chunks of time that are scheduled by between young generation collections. This feature is useful when applications that need the low pause times provided by the concurrent collector are run on machines with small numbers of processors.

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:42462次
    • 积分:2588
    • 等级:
    • 排名:第14220名
    • 原创:117篇
    • 转载:8篇
    • 译文:109篇
    • 评论:5条
    文章分类