8208297: Allow printing of taskqueue stats if compiled in in product builds
Reviewed-by: kbarrett
This commit is contained in:
parent
31cf8b1c65
commit
74a31c5c16
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user