8009723: CMS logs "concurrent mode failure" twice when using (disabling) -XX:-UseCMSCompactAtFullCollection
Reviewed-by: jwilhelm, ehelin, brutisso
--- a/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp Thu Mar 07 10:44:04 2013 -0800
+++ b/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp Mon Mar 11 12:56:00 2013 +0000
@@ -2063,11 +2063,6 @@
// required.
_collectorState = FinalMarking;
}
- if (PrintGCDetails &&
- (_collectorState > Idling ||
- !GCCause::is_user_requested_gc(GenCollectedHeap::heap()->gc_cause()))) {
- gclog_or_tty->print(" (concurrent mode failure)");
- }
collect_in_foreground(clear_all_soft_refs);
// For a mark-sweep, compute_new_size() will be called