知识库--GC+CMS(70)

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.

阅读更多
文章标签: cms
个人分类: gc
上一篇知识库--jvm-Parallel+Compacting+Collector(并行压缩回收)
下一篇知识库--Garbage Collection Types(71)
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭