comparison src/share/vm/runtime/compilationPolicy.hpp @ 5126:43d5ae1051f7

added better debug output when an optimistic deoptimization is disabled fixed inconsistent newline characters in C++ file
author Christian Haeubl <christian.haeubl@oracle.com>
date Tue, 20 Mar 2012 16:15:27 -0700
parents 33df1aeaebbf
children af59b4dfc9e4
comparison
equal deleted inserted replaced
5125:4a1894e1cfc7 5126:43d5ae1051f7
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 // StackWalkCompPolicy - existing C2 policy 119 // StackWalkCompPolicy - existing C2 policy
120 120
121 //#ifdef COMPILER2 121 #if defined(COMPILER2) || defined(GRAAL)
122 class StackWalkCompPolicy : public NonTieredCompPolicy { 122 class StackWalkCompPolicy : public NonTieredCompPolicy {
123 public: 123 public:
124 virtual void method_invocation_event(methodHandle m, JavaThread* thread); 124 virtual void method_invocation_event(methodHandle m, JavaThread* thread);
125 virtual void method_back_branch_event(methodHandle m, int bci, JavaThread* thread); 125 virtual void method_back_branch_event(methodHandle m, int bci, JavaThread* thread);
126 126
136 // positive filter: should send be inlined? returns NULL (--> yes) or rejection msg 136 // positive filter: should send be inlined? returns NULL (--> yes) or rejection msg
137 static const char* shouldNotInline(methodHandle callee); 137 static const char* shouldNotInline(methodHandle callee);
138 // negative filter: should send NOT be inlined? returns NULL (--> inline) or rejection msg 138 // negative filter: should send NOT be inlined? returns NULL (--> inline) or rejection msg
139 139
140 }; 140 };
141 //#endif 141 #endif
142 142
143 #endif // SHARE_VM_RUNTIME_COMPILATIONPOLICY_HPP 143 #endif // SHARE_VM_RUNTIME_COMPILATIONPOLICY_HPP