--- old/src/share/vm/runtime/arguments.cpp 2013-03-21 16:14:55.000000000 -0700 +++ new/src/share/vm/runtime/arguments.cpp 2013-03-21 16:14:55.000000000 -0700 @@ -1818,17 +1818,16 @@ warning("Using the ParNew young collector with the Serial old collector is deprecated " "and will likely be removed in a future release"); } - - if (CMSIncrementalMode) { - warning("Using incremental CMS is deprecated and will likely be removed in a future release"); - } } void Arguments::check_deprecated_gc_flags() { if (FLAG_IS_CMDLINE(MaxGCMinorPauseMillis)) { - warning("Using MaxGCMinorPauseMillis as minor pause goal is deprecated" + warning("Using MaxGCMinorPauseMillis as minor pause goal for adaptive size policy is deprecated" "and will likely be removed in future release"); } + if (CMSIncrementalMode) { + warning("Using incremental CMS is deprecated and will likely be removed in a future release"); + } } // Check stack pages settings