mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
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:
parent
1e1174e0be
commit
401d1f315d
1 changed files with 3 additions and 3 deletions
|
@ -3395,10 +3395,10 @@ CMSPhaseAccounting::CMSPhaseAccounting(CMSCollector *collector,
|
|||
if (PrintCMSStatistics != 0) {
|
||||
_collector->resetYields();
|
||||
}
|
||||
if (PrintGCDetails && PrintGCTimeStamps) {
|
||||
if (PrintGCDetails) {
|
||||
gclog_or_tty->date_stamp(PrintGCDateStamps);
|
||||
gclog_or_tty->stamp();
|
||||
gclog_or_tty->print_cr(": [%s-concurrent-%s-start]",
|
||||
gclog_or_tty->stamp(PrintGCTimeStamps);
|
||||
gclog_or_tty->print_cr("[%s-concurrent-%s-start]",
|
||||
_collector->cmsGen()->short_name(), _phase);
|
||||
}
|
||||
_collector->resetTimer();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue