8208297: Allow printing of taskqueue stats if compiled in in product builds

Reviewed-by: kbarrett
This commit is contained in:
Thomas Schatzl 2018-07-27 09:49:03 +02:00
parent 31cf8b1c65
commit 74a31c5c16
2 changed files with 2 additions and 2 deletions

View File

@ -438,7 +438,7 @@ void ParScanThreadStateSet::print_taskqueue_stats_hdr(outputStream* const st) {
}
void ParScanThreadStateSet::print_taskqueue_stats() {
if (!log_develop_is_enabled(Trace, gc, task, stats)) {
if (!log_is_enabled(Trace, gc, task, stats)) {
return;
}
Log(gc, task, stats) log;

View File

@ -158,7 +158,7 @@ static const char* const pm_stats_hdr[] = {
void
PSPromotionManager::print_taskqueue_stats() {
if (!log_develop_is_enabled(Trace, gc, task, stats)) {
if (!log_is_enabled(Trace, gc, task, stats)) {
return;
}
Log(gc, task, stats) log;