8208297: Allow printing of taskqueue stats if compiled in in product builds
Reviewed-by: kbarrett
--- a/src/hotspot/share/gc/cms/parNewGeneration.cpp Thu Jul 26 16:22:58 2018 -0700
+++ b/src/hotspot/share/gc/cms/parNewGeneration.cpp Fri Jul 27 09:49:03 2018 +0200
@@ -438,7 +438,7 @@
}
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;
--- a/src/hotspot/share/gc/parallel/psPromotionManager.cpp Thu Jul 26 16:22:58 2018 -0700
+++ b/src/hotspot/share/gc/parallel/psPromotionManager.cpp Fri Jul 27 09:49:03 2018 +0200
@@ -158,7 +158,7 @@
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;