RFR: 8179013: Deprecate the Concurrent Mark Sweep (CMS) Garbage Collector

Erik Helin erik.helin at oracle.com
Thu Apr 20 15:55:23 UTC 2017


Hi all,

since JEP 291 [0] has been targeted for JDK 9 [1], here is the patch 
that implements the change. The patch itself is very small, it just adds 
a "-XX:+UseConcMarkSweepGC" entry to the special_jvm_flags array and 
updates a test. The test checks that a deprecation message is correctly 
printed for the flags:
-XX:+UseConcMarkSweepGC
-Xconcgc
-Xnocongc

Webrev:
http://cr.openjdk.java.net/~ehelin/8179013/00/

Issue:
https://bugs.openjdk.java.net/browse/JDK-8179013

Testing:
- JPRT
- make run-test TEST=hotspot/test/gc/startup_warnings/TestCMS.java
- make run-test TEST=hotspot_jprt
(tested with both open and commercial builds)

Thanks,
Erik

[0]: http://openjdk.java.net/jeps/291
[1]: http://mail.openjdk.java.net/pipermail/jdk9-dev/2017-April/005766.html



More information about the hotspot-gc-dev mailing list