Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Concurrent mark sweep collector

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

Theconcurrent mark sweep collector (concurrent mark-sweep collector,concurrent collector orCMS)[1] was amark-and-sweepgarbage collector in theOracleHotSpotJava 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 15 it is no longer available.[4][5]

HotSpot garbage collectors

[edit]
Main article:HotSpot (virtual machine)

The HotSpot JVM selects the default garbage collector based on several factors.[6] The newerGarbage-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 javacommand line-XX:+UseConcMarkSweepGC[8][1] when using Java version less than 14.

See also

[edit]

References

[edit]
  1. ^ab"Concurrent Mark Sweep Collector Enhancements".
  2. ^"JEP 291: Deprecate the Concurrent Mark Sweep (CMS) Garbage Collector".
  3. ^"JEP 363: Remove the Concurrent Mark Sweep (CMS) Garbage Collector".
  4. ^"JVM Garbage Collectors". 18 April 2017.
  5. ^"Release Note: JEP 363: Remove the Concurrent Mark and Sweep (CMS) Garbage Collector".
  6. ^"Garbage Collector Ergonomics".
  7. ^"Java HotSpot Garbage Collection".
  8. ^"Garbage Collectors".
Hardware
Virtual memory
Segmentation
Allocator
Manual means
Garbage
collection
Safety
Issues
Other


Stub icon

This computing article is astub. You can help Wikipedia byexpanding it.

Retrieved from "https://en.wikipedia.org/w/index.php?title=Concurrent_mark_sweep_collector&oldid=1285823954"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp