Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/compilationPolicy.hpp @ 7226:8a3efb8c831d
Merge.
author | Christian Haeubl <haeubl@ssw.jku.at> |
---|---|
date | Fri, 14 Dec 2012 13:02:49 +0100 |
parents | 5d0bb7d52783 |
children | b8f261ba79c6 |
comparison
equal
deleted
inserted
replaced
7225:31c4d9f9e922 | 7226:8a3efb8c831d |
---|---|
114 public: | 114 public: |
115 virtual void method_invocation_event(methodHandle m, JavaThread* thread); | 115 virtual void method_invocation_event(methodHandle m, JavaThread* thread); |
116 virtual void method_back_branch_event(methodHandle m, int bci, JavaThread* thread); | 116 virtual void method_back_branch_event(methodHandle m, int bci, JavaThread* thread); |
117 }; | 117 }; |
118 | 118 |
119 #ifdef GRAAL | 119 #ifdef GRAALVM |
120 class GraalCompPolicy : public NonTieredCompPolicy { | 120 class GraalCompPolicy : public NonTieredCompPolicy { |
121 public: | 121 public: |
122 virtual void method_invocation_event(methodHandle m, JavaThread* thread); | 122 virtual void method_invocation_event(methodHandle m, JavaThread* thread); |
123 virtual void method_back_branch_event(methodHandle m, int bci, JavaThread* thread); | 123 virtual void method_back_branch_event(methodHandle m, int bci, JavaThread* thread); |
124 }; | 124 }; |
125 #endif // GRAAL | 125 #endif // GRAALVM |
126 | 126 |
127 // StackWalkCompPolicy - existing C2 policy | 127 // StackWalkCompPolicy - existing C2 policy |
128 | 128 |
129 #if defined(COMPILER2) || defined(GRAAL) | 129 #if defined(COMPILER2) |
130 class StackWalkCompPolicy : public NonTieredCompPolicy { | 130 class StackWalkCompPolicy : public NonTieredCompPolicy { |
131 public: | 131 public: |
132 virtual void method_invocation_event(methodHandle m, JavaThread* thread); | 132 virtual void method_invocation_event(methodHandle m, JavaThread* thread); |
133 virtual void method_back_branch_event(methodHandle m, int bci, JavaThread* thread); | 133 virtual void method_back_branch_event(methodHandle m, int bci, JavaThread* thread); |
134 | 134 |