comparison src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp @ 8736:167812fe00bb

8009723: CMS logs "concurrent mode failure" twice when using (disabling) -XX:-UseCMSCompactAtFullCollection Reviewed-by: jwilhelm, ehelin, brutisso
author kevinw
date Mon, 11 Mar 2013 12:56:00 +0000
parents f64ffbf81af5
children 62609ffa2fc6
comparison
equal deleted inserted replaced
8734:209f8ba5020b 8736:167812fe00bb
2060 case Precleaning: 2060 case Precleaning:
2061 // In the foreground case don't do the precleaning since 2061 // In the foreground case don't do the precleaning since
2062 // it is not done concurrently and there is extra work 2062 // it is not done concurrently and there is extra work
2063 // required. 2063 // required.
2064 _collectorState = FinalMarking; 2064 _collectorState = FinalMarking;
2065 }
2066 if (PrintGCDetails &&
2067 (_collectorState > Idling ||
2068 !GCCause::is_user_requested_gc(GenCollectedHeap::heap()->gc_cause()))) {
2069 gclog_or_tty->print(" (concurrent mode failure)");
2070 } 2065 }
2071 collect_in_foreground(clear_all_soft_refs); 2066 collect_in_foreground(clear_all_soft_refs);
2072 2067
2073 // For a mark-sweep, compute_new_size() will be called 2068 // For a mark-sweep, compute_new_size() will be called
2074 // in the heap's do_collection() method. 2069 // in the heap's do_collection() method.