8208297: Allow printing of taskqueue stats if compiled in in product builds
authortschatzl
Fri, 27 Jul 2018 09:49:03 +0200
changeset 51256 604581924221
parent 51255 65fc31d1042b
child 51257 979e349059eb
8208297: Allow printing of taskqueue stats if compiled in in product builds Reviewed-by: kbarrett
src/hotspot/share/gc/cms/parNewGeneration.cpp
src/hotspot/share/gc/parallel/psPromotionManager.cpp
--- 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;