UseConcMarkSweepGC is deprecated, what is its replacement?

26,379

Dropping support for CMS and then removing the CMS code, or at least more thoroughly segregating it, will reduce the maintenance burden of the GC code base and accelerate new development. The G1 garbage collector is intended, in the long term, to be a replacement for most uses of CMS.

From the Official JEP

Share:
26,379
Alex Shroyer
Author by

Alex Shroyer

Systems engineer at Indiana University / Luddy School of Informatics, Computing, and Engineering / Intelligent Systems Engineering department.

Updated on September 23, 2020

Comments

  • Alex Shroyer
    Alex Shroyer over 3 years

    A java program is giving this warning, with JRE 10.0.2:

    Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
    

    What is the recommended replacement for this switch?