comparison src/share/vm/runtime/java.cpp @ 8156:5977a55503e9

Fix product build.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Thu, 07 Mar 2013 22:04:07 +0100
parents 5fc51c1ecdeb
children 197426668a5d
comparison
equal deleted inserted replaced
8155:3c29f7da5c66 8156:5977a55503e9
247 if ((PrintC1Statistics || LogVMOutput || LogCompilation) && UseCompiler) { 247 if ((PrintC1Statistics || LogVMOutput || LogCompilation) && UseCompiler) {
248 FlagSetting fs(DisplayVMOutput, DisplayVMOutput && PrintC1Statistics); 248 FlagSetting fs(DisplayVMOutput, DisplayVMOutput && PrintC1Statistics);
249 Runtime1::print_statistics(); 249 Runtime1::print_statistics();
250 Deoptimization::print_statistics(); 250 Deoptimization::print_statistics();
251 SharedRuntime::print_statistics(); 251 SharedRuntime::print_statistics();
252 nmethod::print_statistics();
252 } 253 }
253 #endif /* COMPILER1 */ 254 #endif /* COMPILER1 */
254
255 if(PrintNMethodStatistics) {
256 nmethod::print_statistics();
257 }
258 255
259 #ifdef COMPILER2 256 #ifdef COMPILER2
260 if ((PrintOptoStatistics || LogVMOutput || LogCompilation) && UseCompiler) { 257 if ((PrintOptoStatistics || LogVMOutput || LogCompilation) && UseCompiler) {
261 FlagSetting fs(DisplayVMOutput, DisplayVMOutput && PrintOptoStatistics); 258 FlagSetting fs(DisplayVMOutput, DisplayVMOutput && PrintOptoStatistics);
262 Compile::print_statistics(); 259 Compile::print_statistics();
372 369
373 void print_statistics() { 370 void print_statistics() {
374 371
375 if (CITime) { 372 if (CITime) {
376 CompileBroker::print_times(); 373 CompileBroker::print_times();
377 }
378
379 if(PrintNMethodStatistics) {
380 nmethod::print_statistics();
381 } 374 }
382 375
383 if (PrintCodeCache) { 376 if (PrintCodeCache) {
384 MutexLockerEx mu(CodeCache_lock, Mutex::_no_safepoint_check_flag); 377 MutexLockerEx mu(CodeCache_lock, Mutex::_no_safepoint_check_flag);
385 CodeCache::print(); 378 CodeCache::print();