8009723: CMS logs "concurrent mode failure" twice when using (disabling) -XX:-UseCMSCompactAtFullCollection
Reviewed-by: jwilhelm, ehelin, brutisso
This commit is contained in:
parent
3baff284ba
commit
a181e6d505
@ -2063,11 +2063,6 @@ void CMSCollector::do_mark_sweep_work(bool clear_all_soft_refs,
|
|||||||
// required.
|
// required.
|
||||||
_collectorState = FinalMarking;
|
_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);
|
collect_in_foreground(clear_all_soft_refs);
|
||||||
|
|
||||||
// For a mark-sweep, compute_new_size() will be called
|
// For a mark-sweep, compute_new_size() will be called
|
||||||
|
Loading…
Reference in New Issue
Block a user