Mercurial > hg > truffle
comparison src/share/vm/interpreter/templateInterpreter.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 | 1d7922586cf6 |
children | 7d815d842ee0 |
comparison
equal
deleted
inserted
replaced
6717:5bbe9618118e | 7062:8c5333c80cfd |
---|---|
25 #include "precompiled.hpp" | 25 #include "precompiled.hpp" |
26 #include "interpreter/interpreter.hpp" | 26 #include "interpreter/interpreter.hpp" |
27 #include "interpreter/interpreterGenerator.hpp" | 27 #include "interpreter/interpreterGenerator.hpp" |
28 #include "interpreter/interpreterRuntime.hpp" | 28 #include "interpreter/interpreterRuntime.hpp" |
29 #include "interpreter/templateTable.hpp" | 29 #include "interpreter/templateTable.hpp" |
30 #include "utilities/machineCodePrinter.hpp" | |
30 | 31 |
31 #ifndef CC_INTERP | 32 #ifndef CC_INTERP |
32 | 33 |
33 # define __ _masm-> | 34 # define __ _masm-> |
34 | 35 |
49 NOT_PRODUCT(code_size *= 4;) // debug uses extra interpreter code space | 50 NOT_PRODUCT(code_size *= 4;) // debug uses extra interpreter code space |
50 _code = new StubQueue(new InterpreterCodeletInterface, code_size, NULL, | 51 _code = new StubQueue(new InterpreterCodeletInterface, code_size, NULL, |
51 "Interpreter"); | 52 "Interpreter"); |
52 InterpreterGenerator g(_code); | 53 InterpreterGenerator g(_code); |
53 if (PrintInterpreter) print(); | 54 if (PrintInterpreter) print(); |
55 if (PrintMachineCodeToFile) { | |
56 MachineCodePrinter::print(_code); | |
57 } | |
54 } | 58 } |
55 | 59 |
56 // initialize dispatch table | 60 // initialize dispatch table |
57 _active_table = _normal_table; | 61 _active_table = _normal_table; |
58 } | 62 } |