Mercurial > hg > graal-compiler
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/runtime/java.cpp Thu Feb 09 18:36:11 2012 -0800 +++ b/src/share/vm/runtime/java.cpp Fri Feb 10 10:07:48 2012 -0800 @@ -250,9 +250,12 @@ Runtime1::print_statistics(); Deoptimization::print_statistics(); SharedRuntime::print_statistics(); + } +#endif /* COMPILER1 */ + + if(PrintNMethodStatistics) { nmethod::print_statistics(); } -#endif /* COMPILER1 */ #ifdef COMPILER2 if ((PrintOptoStatistics || LogVMOutput || LogCompilation) && UseCompiler) { @@ -364,6 +367,9 @@ if (CITime) { CompileBroker::print_times(); } + if(PrintNMethodStatistics) { + nmethod::print_statistics(); + } #ifdef COMPILER2 if (PrintPreciseBiasedLockingStatistics) { OptoRuntime::print_named_counters();