Mercurial > hg > truffle
diff src/share/vm/code/nmethod.cpp @ 7062:8c5333c80cfd
increased CompileThreshold to increase reliability of profiling information
increased InitialCodeCacheSize to fit the bootstrapping
added flag -XX:GraalClassPath to allow providing a .jar or .zip file that contains all Graal classes
added support for the flag -XX:TraceCompilationPolicy to the Graal-specific compilation policy
author | Christian Haeubl <haeubl@ssw.jku.at> |
---|---|
date | Thu, 15 Nov 2012 11:40:50 +0100 |
parents | 957c266d8bc5 |
children | 7d815d842ee0 |
line wrap: on
line diff
--- a/src/share/vm/code/nmethod.cpp Tue Nov 13 21:21:02 2012 +0100 +++ b/src/share/vm/code/nmethod.cpp Thu Nov 15 11:40:50 2012 +0100 @@ -42,6 +42,7 @@ #include "utilities/dtrace.hpp" #include "utilities/events.hpp" #include "utilities/xmlstream.hpp" +#include "utilities/machineCodePrinter.hpp" #ifdef SHARK #include "shark/sharkCompiler.hpp" #endif @@ -514,6 +515,10 @@ if (nm != NULL) nmethod_stats.note_native_nmethod(nm); if (PrintAssembly && nm != NULL) Disassembler::decode(nm); + + if (PrintMachineCodeToFile) { + MachineCodePrinter::print(nm); + } } // verify nmethod debug_only(if (nm) nm->verify();) // might block @@ -614,6 +619,10 @@ if (nm != NULL) nmethod_stats.note_nmethod(nm); if (PrintAssembly && nm != NULL) Disassembler::decode(nm); + + if (PrintMachineCodeToFile) { + MachineCodePrinter::print(nm); + } } // verify nmethod