src/share/vm/runtime/arguments.cpp
Print this page
@@ -1816,20 +1816,20 @@
// !UseConcMarkSweepGC means that we are using serial old gc. Unfortunately we don't
// set up UseSerialGC properly, so that can't be used in the check here.
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"
- "and will likely be removed in future release");
+ warning("Using MaxGCMinorPauseMillis as minor pause goal for adaptive size policy is deprecated "
+ "and will be removed in future release");
+ }
+
+ if (CMSIncrementalMode) {
+ warning("Using incremental CMS is deprecated and will be removed in a future release");
}
}
// Check stack pages settings
bool Arguments::check_stack_pages()