Search code examples
javajvmjvm-hotspot

Why Remove support for ParNew+SerialOld and DefNew+CMS in the future?


Java HotSpot(TM) 64-Bit Server VM warning: Using the ParNew young collector with the Serial old collector is deprecated and will likely be removed in a future release


Solution

  • The reasons and alternatives for users are outlined in JEP 173.

    It boils down to maintenance overhead for rarely used combinations of young/old collectors.

    See also JEP 214, about the future removal of the deprecated combinations.