--- a/src/hotspot/share/runtime/java.cpp Tue Dec 04 09:30:10 2018 +0100
+++ b/src/hotspot/share/runtime/java.cpp Tue Dec 04 11:57:18 2018 +0100
@@ -318,8 +318,7 @@
// CodeHeap State Analytics.
// Does also call NMethodSweeper::print(tty)
- LogTarget(Trace, codecache) lt;
- if (lt.is_enabled()) {
+ if (PrintCodeHeapAnalytics) {
CompileBroker::print_heapinfo(NULL, "all", "4096"); // details
} else if (PrintMethodFlushingStatistics) {
NMethodSweeper::print(tty);
@@ -387,8 +386,7 @@
// CodeHeap State Analytics.
// Does also call NMethodSweeper::print(tty)
- LogTarget(Trace, codecache) lt;
- if (lt.is_enabled()) {
+ if (PrintCodeHeapAnalytics) {
CompileBroker::print_heapinfo(NULL, "all", "4096"); // details
} else if (PrintMethodFlushingStatistics) {
NMethodSweeper::print(tty);