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
--- 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;