Mercurial > hg > graal-compiler
diff src/share/vm/runtime/java.cpp @ 7595:9deda4d8e126
8005204: Code Cache Reduction: command line options implementation
Summary: Adding more detailed output on CodeCache usage
Reviewed-by: kvn, vladidan
Contributed-by: Alexander Harlap <alexander.harlap@oracle.com>
author | vladidan |
---|---|
date | Mon, 14 Jan 2013 13:52:08 -0500 |
parents | f34d701e952e |
children | 212c5b9c38e7 |
line wrap: on
line diff
--- a/src/share/vm/runtime/java.cpp Mon Jan 14 13:44:49 2013 -0500 +++ b/src/share/vm/runtime/java.cpp Mon Jan 14 13:52:08 2013 -0500 @@ -368,6 +368,12 @@ if (CITime) { CompileBroker::print_times(); } + + if (PrintCodeCache) { + MutexLockerEx mu(CodeCache_lock, Mutex::_no_safepoint_check_flag); + CodeCache::print(); + } + #ifdef COMPILER2 if (PrintPreciseBiasedLockingStatistics) { OptoRuntime::print_named_counters();