< prev index next >

src/hotspot/share/code/codeCache.cpp

Print this page
rev 54096 : 8214526: Change CodeHeap State Analytics control from UL to Print*
Reviewed-by: coleenp, kvn, stuefe, thartmann

@@ -1391,12 +1391,11 @@
       ttyLocker ttyl;
       tty->print("%s", s.as_string());
     }
 
     if (heap->full_count() == 0) {
-      LogTarget(Debug, codecache) lt;
-      if (lt.is_enabled()) {
+      if (PrintCodeHeapAnalytics) {
         CompileBroker::print_heapinfo(tty, "all", 4096); // details, may be a lot!
       }
     }
   }
 
< prev index next >