8008684: CMS: concurrent phase start markers should always be printed

Print the concurrent phase start markers for CMS when PrintGCDetails is enabled, not only if both PrintGCDetails and PrintGCTimeStamps are.

Reviewed-by: mgerdin, jmasa
This commit is contained in:
Thomas Schatzl 2013-03-12 15:10:39 +01:00
parent 1e1174e0be
commit 401d1f315d

View file

@ -3395,10 +3395,10 @@ CMSPhaseAccounting::CMSPhaseAccounting(CMSCollector *collector,
if (PrintCMSStatistics != 0) { if (PrintCMSStatistics != 0) {
_collector->resetYields(); _collector->resetYields();
} }
if (PrintGCDetails && PrintGCTimeStamps) { if (PrintGCDetails) {
gclog_or_tty->date_stamp(PrintGCDateStamps); gclog_or_tty->date_stamp(PrintGCDateStamps);
gclog_or_tty->stamp(); gclog_or_tty->stamp(PrintGCTimeStamps);
gclog_or_tty->print_cr(": [%s-concurrent-%s-start]", gclog_or_tty->print_cr("[%s-concurrent-%s-start]",
_collector->cmsGen()->short_name(), _phase); _collector->cmsGen()->short_name(), _phase);
} }
_collector->resetTimer(); _collector->resetTimer();