8152400: Enabling TASK_STATS_ONLY filters out just enabled messages anyway
authortschatzl
Thu, 24 Mar 2016 10:40:23 +0100
changeset 37180 d73f2a3c0fdb
parent 37179 4dbcb3a642d2
child 37183 c8b84a263d3c
child 37184 23e0d47c1f3e
child 37186 3975b781def9
8152400: Enabling TASK_STATS_ONLY filters out just enabled messages anyway Summary: If TASK_STATS_ONLY is enabled, do not require a develop build to print messages. Reviewed-by: pliden, tbenson
hotspot/src/share/vm/gc/g1/g1CollectedHeap.cpp
--- a/hotspot/src/share/vm/gc/g1/g1CollectedHeap.cpp	Wed Mar 23 23:36:29 2016 +0100
+++ b/hotspot/src/share/vm/gc/g1/g1CollectedHeap.cpp	Thu Mar 24 10:40:23 2016 +0100
@@ -3109,7 +3109,7 @@
 }
 
 void G1CollectedHeap::print_taskqueue_stats() const {
-  if (!log_develop_is_enabled(Trace, gc, task, stats)) {
+  if (!log_is_enabled(Trace, gc, task, stats)) {
     return;
   }
   LogHandle(gc, task, stats) log;