< prev index next >
src/hotspot/share/runtime/java.cpp
Print this page
rev 49285 : [mq]: 8198691.patch
@@ -315,11 +315,17 @@
MutexLockerEx mu(CodeCache_lock, Mutex::_no_safepoint_check_flag);
CodeCache::print();
}
if (PrintMethodFlushingStatistics) {
- NMethodSweeper::print();
+ NMethodSweeper::print(tty);
+ }
+
+ // CodeHeap State Analytics.
+ LogTarget(Trace, codecache) lt;
+ if (lt.is_enabled()) {
+ CompileBroker::print_heapinfo(NULL, "all", "4096"); // details
}
if (PrintCodeCache2) {
MutexLockerEx mu(CodeCache_lock, Mutex::_no_safepoint_check_flag);
CodeCache::print_internals();
@@ -378,11 +384,17 @@
MutexLockerEx mu(CodeCache_lock, Mutex::_no_safepoint_check_flag);
CodeCache::print();
}
if (PrintMethodFlushingStatistics) {
- NMethodSweeper::print();
+ NMethodSweeper::print(tty);
+ }
+
+ // CodeHeap State Analytics.
+ LogTarget(Trace, codecache) lt;
+ if (lt.is_enabled()) {
+ CompileBroker::print_heapinfo(NULL, "all", "4096"); // details
}
#ifdef COMPILER2
if (PrintPreciseBiasedLockingStatistics || PrintPreciseRTMLockingStatistics) {
OptoRuntime::print_named_counters();
< prev index next >