366 void print_statistics() { |
366 void print_statistics() { |
367 |
367 |
368 if (CITime) { |
368 if (CITime) { |
369 CompileBroker::print_times(); |
369 CompileBroker::print_times(); |
370 } |
370 } |
|
371 |
|
372 if (PrintCodeCache) { |
|
373 MutexLockerEx mu(CodeCache_lock, Mutex::_no_safepoint_check_flag); |
|
374 CodeCache::print(); |
|
375 } |
|
376 |
371 #ifdef COMPILER2 |
377 #ifdef COMPILER2 |
372 if (PrintPreciseBiasedLockingStatistics) { |
378 if (PrintPreciseBiasedLockingStatistics) { |
373 OptoRuntime::print_named_counters(); |
379 OptoRuntime::print_named_counters(); |
374 } |
380 } |
375 #endif |
381 #endif |