Jump to content
Wikipedia The Free Encyclopedia

Concurrent mark sweep collector

From Wikipedia, the free encyclopedia
This article relies excessively on references to primary sources . Please improve this article by adding secondary or tertiary sources.
Find sources: "Concurrent mark sweep collector" – news · newspapers · books · scholar · JSTOR
(April 2012) (Learn how and when to remove this message)

The concurrent mark sweep collector (concurrent mark-sweep collector, concurrent collector or CMS)[1] was a mark-and-sweep garbage collector in the Oracle HotSpot Java virtual machine (JVM) available since version 1.4.1. It was deprecated on version 9[2] and removed on version 14,[3] so from Java 14 it is no longer available.[4] [5]

HotSpot garbage collectors

[edit ]

The HotSpot JVM selects the default garbage collector based on several factors.[6] The newer Garbage-First collector (G1) was planned to replace CMS.[7] That change was finally done in version 9.

To launch the JVM with this garbage collector you can add this property to the java command line -XX:+UseConcMarkSweepGC[8] [1] when using Java version less than 14.

See also

[edit ]

References

[edit ]
Hardware
Virtual memory
Segmentation
Allocator
Manual means
Garbage
collection
Safety
Issues
Other


Stub icon

This computing article is a stub. You can help Wikipedia by expanding it.

AltStyle によって変換されたページ (->オリジナル) /