Mercurial > hg > truffle
comparison src/share/vm/runtime/compilationPolicy.hpp @ 3568:409ef3a68dc8
re-lock objects whose lock was removed by escape analysis, enable stack walking compilation policy (-XX:CompilationPolicyChoice=1)
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Thu, 01 Sep 2011 15:28:24 +0200 |
parents | f95d63e2154a |
children | 04b9a2566eec |
comparison
equal
deleted
inserted
replaced
3567:dbf8d6a4201f | 3568:409ef3a68dc8 |
---|---|
112 virtual void method_back_branch_event(methodHandle m, int bci, TRAPS); | 112 virtual void method_back_branch_event(methodHandle m, int bci, TRAPS); |
113 }; | 113 }; |
114 | 114 |
115 // StackWalkCompPolicy - existing C2 policy | 115 // StackWalkCompPolicy - existing C2 policy |
116 | 116 |
117 #ifdef COMPILER2 | 117 //#ifdef COMPILER2 |
118 class StackWalkCompPolicy : public NonTieredCompPolicy { | 118 class StackWalkCompPolicy : public NonTieredCompPolicy { |
119 public: | 119 public: |
120 virtual void method_invocation_event(methodHandle m, TRAPS); | 120 virtual void method_invocation_event(methodHandle m, TRAPS); |
121 virtual void method_back_branch_event(methodHandle m, int bci, TRAPS); | 121 virtual void method_back_branch_event(methodHandle m, int bci, TRAPS); |
122 | 122 |
132 // positive filter: should send be inlined? returns NULL (--> yes) or rejection msg | 132 // positive filter: should send be inlined? returns NULL (--> yes) or rejection msg |
133 static const char* shouldNotInline(methodHandle callee); | 133 static const char* shouldNotInline(methodHandle callee); |
134 // negative filter: should send NOT be inlined? returns NULL (--> inline) or rejection msg | 134 // negative filter: should send NOT be inlined? returns NULL (--> inline) or rejection msg |
135 | 135 |
136 }; | 136 }; |
137 #endif | 137 //#endif |
138 | 138 |
139 #endif // SHARE_VM_RUNTIME_COMPILATIONPOLICY_HPP | 139 #endif // SHARE_VM_RUNTIME_COMPILATIONPOLICY_HPP |