< prev index next >
src/hotspot/share/runtime/java.cpp
Print this page
rev 52796 : 8214526: Change CodeHeap State Analytics control from UL to Print*
Reviewed-by:
@@ -316,12 +316,11 @@
CodeCache::print();
}
// CodeHeap State Analytics.
// Does also call NMethodSweeper::print(tty)
- LogTarget(Trace, codecache) lt;
- if (lt.is_enabled()) {
+ if (PrintCodeHeapAnalysis) {
CompileBroker::print_heapinfo(NULL, "all", "4096"); // details
} else if (PrintMethodFlushingStatistics) {
NMethodSweeper::print(tty);
}
@@ -385,12 +384,11 @@
CodeCache::print();
}
// CodeHeap State Analytics.
// Does also call NMethodSweeper::print(tty)
- LogTarget(Trace, codecache) lt;
- if (lt.is_enabled()) {
+ if (PrintCodeHeapAnalysis) {
CompileBroker::print_heapinfo(NULL, "all", "4096"); // details
} else if (PrintMethodFlushingStatistics) {
NMethodSweeper::print(tty);
}
< prev index next >