8005204: Code Cache Reduction: command line options implementation

Adding more detailed output on CodeCache usage

Reviewed-by: kvn, vladidan
This commit is contained in:
Alexander Harlap 2013-01-14 13:52:08 -05:00 committed by Vladimir Danushevsky
parent 5613847626
commit 95cbed6639
6 changed files with 70 additions and 19 deletions

View file

@ -368,6 +368,12 @@ void print_statistics() {
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();