Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/java.cpp @ 4561:35ca3ade314d
enabled nmethod statistics for product build
author | Christian Haeubl <christian.haeubl@oracle.com> |
---|---|
date | Fri, 10 Feb 2012 10:07:48 -0800 |
parents | 3c21eee8ab4d |
children | ef00461e29af |
comparison
equal
deleted
inserted
replaced
4554:daba89671d29 | 4561:35ca3ade314d |
---|---|
248 if ((PrintC1Statistics || LogVMOutput || LogCompilation) && UseCompiler) { | 248 if ((PrintC1Statistics || LogVMOutput || LogCompilation) && UseCompiler) { |
249 FlagSetting fs(DisplayVMOutput, DisplayVMOutput && PrintC1Statistics); | 249 FlagSetting fs(DisplayVMOutput, DisplayVMOutput && PrintC1Statistics); |
250 Runtime1::print_statistics(); | 250 Runtime1::print_statistics(); |
251 Deoptimization::print_statistics(); | 251 Deoptimization::print_statistics(); |
252 SharedRuntime::print_statistics(); | 252 SharedRuntime::print_statistics(); |
253 } | |
254 #endif /* COMPILER1 */ | |
255 | |
256 if(PrintNMethodStatistics) { | |
253 nmethod::print_statistics(); | 257 nmethod::print_statistics(); |
254 } | 258 } |
255 #endif /* COMPILER1 */ | |
256 | 259 |
257 #ifdef COMPILER2 | 260 #ifdef COMPILER2 |
258 if ((PrintOptoStatistics || LogVMOutput || LogCompilation) && UseCompiler) { | 261 if ((PrintOptoStatistics || LogVMOutput || LogCompilation) && UseCompiler) { |
259 FlagSetting fs(DisplayVMOutput, DisplayVMOutput && PrintOptoStatistics); | 262 FlagSetting fs(DisplayVMOutput, DisplayVMOutput && PrintOptoStatistics); |
260 Compile::print_statistics(); | 263 Compile::print_statistics(); |
361 | 364 |
362 void print_statistics() { | 365 void print_statistics() { |
363 | 366 |
364 if (CITime) { | 367 if (CITime) { |
365 CompileBroker::print_times(); | 368 CompileBroker::print_times(); |
369 } | |
370 if(PrintNMethodStatistics) { | |
371 nmethod::print_statistics(); | |
366 } | 372 } |
367 #ifdef COMPILER2 | 373 #ifdef COMPILER2 |
368 if (PrintPreciseBiasedLockingStatistics) { | 374 if (PrintPreciseBiasedLockingStatistics) { |
369 OptoRuntime::print_named_counters(); | 375 OptoRuntime::print_named_counters(); |
370 } | 376 } |