Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp @ 8740:62609ffa2fc6
8008684: CMS: concurrent phase start markers should always be printed
Summary: Print the concurrent phase start markers for CMS when PrintGCDetails is enabled, not only if both PrintGCDetails and PrintGCTimeStamps are.
Reviewed-by: mgerdin, jmasa
author | tschatzl |
---|---|
date | Tue, 12 Mar 2013 15:10:39 +0100 |
parents | 167812fe00bb |
children | 79af1312fc2c |
comparison
equal
deleted
inserted
replaced
8739:ca9580859cf4 | 8740:62609ffa2fc6 |
---|---|
3393 _collector(collector), _phase(phase), _print_cr(print_cr) { | 3393 _collector(collector), _phase(phase), _print_cr(print_cr) { |
3394 | 3394 |
3395 if (PrintCMSStatistics != 0) { | 3395 if (PrintCMSStatistics != 0) { |
3396 _collector->resetYields(); | 3396 _collector->resetYields(); |
3397 } | 3397 } |
3398 if (PrintGCDetails && PrintGCTimeStamps) { | 3398 if (PrintGCDetails) { |
3399 gclog_or_tty->date_stamp(PrintGCDateStamps); | 3399 gclog_or_tty->date_stamp(PrintGCDateStamps); |
3400 gclog_or_tty->stamp(); | 3400 gclog_or_tty->stamp(PrintGCTimeStamps); |
3401 gclog_or_tty->print_cr(": [%s-concurrent-%s-start]", | 3401 gclog_or_tty->print_cr("[%s-concurrent-%s-start]", |
3402 _collector->cmsGen()->short_name(), _phase); | 3402 _collector->cmsGen()->short_name(), _phase); |
3403 } | 3403 } |
3404 _collector->resetTimer(); | 3404 _collector->resetTimer(); |
3405 _wallclock.start(); | 3405 _wallclock.start(); |
3406 _collector->startTimer(); | 3406 _collector->startTimer(); |