< prev index next >
src/hotspot/share/runtime/java.cpp
Print this page
*** 233,242 ****
--- 233,247 ----
if (CITime) {
CompileBroker::print_times();
}
+ // 8198691: CodeHeap State Analytics.
+ if (PrintCodeHeapState) {
+ CompileBroker::print_heapinfo(NULL, "all", "4096"); // details
+ }
+
#ifdef COMPILER1
if ((PrintC1Statistics || LogVMOutput || LogCompilation) && UseCompiler) {
FlagSetting fs(DisplayVMOutput, DisplayVMOutput && PrintC1Statistics);
Runtime1::print_statistics();
Deoptimization::print_statistics();
*** 314,325 ****
if (PrintCodeCache) {
MutexLockerEx mu(CodeCache_lock, Mutex::_no_safepoint_check_flag);
CodeCache::print();
}
! if (PrintMethodFlushingStatistics) {
! NMethodSweeper::print();
}
if (PrintCodeCache2) {
MutexLockerEx mu(CodeCache_lock, Mutex::_no_safepoint_check_flag);
CodeCache::print_internals();
--- 319,330 ----
if (PrintCodeCache) {
MutexLockerEx mu(CodeCache_lock, Mutex::_no_safepoint_check_flag);
CodeCache::print();
}
! if (PrintMethodFlushingStatistics && !PrintCodeHeapState) {
! NMethodSweeper::print(tty);
}
if (PrintCodeCache2) {
MutexLockerEx mu(CodeCache_lock, Mutex::_no_safepoint_check_flag);
CodeCache::print_internals();
*** 375,386 ****
if (PrintCodeCache) {
MutexLockerEx mu(CodeCache_lock, Mutex::_no_safepoint_check_flag);
CodeCache::print();
}
! if (PrintMethodFlushingStatistics) {
! NMethodSweeper::print();
}
#ifdef COMPILER2
if (PrintPreciseBiasedLockingStatistics || PrintPreciseRTMLockingStatistics) {
OptoRuntime::print_named_counters();
--- 380,396 ----
if (PrintCodeCache) {
MutexLockerEx mu(CodeCache_lock, Mutex::_no_safepoint_check_flag);
CodeCache::print();
}
! if (PrintMethodFlushingStatistics && !PrintCodeHeapState) {
! NMethodSweeper::print(tty);
! }
!
! // 8198691: CodeHeap State Analytics.
! if (PrintCodeHeapState) {
! CompileBroker::print_heapinfo(NULL, "all", "4096"); // details
}
#ifdef COMPILER2
if (PrintPreciseBiasedLockingStatistics || PrintPreciseRTMLockingStatistics) {
OptoRuntime::print_named_counters();
< prev index next >