changeset 51256:604581924221

8208297: Allow printing of taskqueue stats if compiled in in product builds Reviewed-by: kbarrett
author tschatzl
date Fri, 27 Jul 2018 09:49:03 +0200
parents 65fc31d1042b
children 979e349059eb
files src/hotspot/share/gc/cms/parNewGeneration.cpp src/hotspot/share/gc/parallel/psPromotionManager.cpp
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;