Mercurial > hg > truffle
diff src/share/vm/runtime/compilationPolicy.hpp @ 7154:5d0bb7d52783
changes to support Graal co-existing with the other HotSpot compiler(s) and being used for explicit compilation requests and code installation via the Graal API
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 12 Dec 2012 21:36:40 +0100 |
parents | e522a00b91aa |
children | b8f261ba79c6 |
line wrap: on
line diff
--- a/src/share/vm/runtime/compilationPolicy.hpp Wed Dec 12 15:46:11 2012 +0100 +++ b/src/share/vm/runtime/compilationPolicy.hpp Wed Dec 12 21:36:40 2012 +0100 @@ -116,17 +116,17 @@ virtual void method_back_branch_event(methodHandle m, int bci, JavaThread* thread); }; -#ifdef GRAAL +#ifdef GRAALVM class GraalCompPolicy : public NonTieredCompPolicy { public: virtual void method_invocation_event(methodHandle m, JavaThread* thread); virtual void method_back_branch_event(methodHandle m, int bci, JavaThread* thread); }; -#endif // GRAAL +#endif // GRAALVM // StackWalkCompPolicy - existing C2 policy -#if defined(COMPILER2) || defined(GRAAL) +#if defined(COMPILER2) class StackWalkCompPolicy : public NonTieredCompPolicy { public: virtual void method_invocation_event(methodHandle m, JavaThread* thread);