Mercurial > hg > graal-jvmci-8
comparison src/share/vm/interpreter/abstractInterpreter.hpp @ 17980:0bf37f737702
8032410: compiler/uncommontrap/TestStackBangRbp.java times out on Solaris-Sparc V9
Summary: make compiled code bang the stack by the worst case size of the interpreter frame at deoptimization points.
Reviewed-by: twisti, kvn
author | roland |
---|---|
date | Tue, 01 Apr 2014 09:36:49 +0200 |
parents | 2b8e28fdf503 |
children | 52b4284cb496 ddce0b7cee93 |
comparison
equal
deleted
inserted
replaced
17978:ad51f24671c2 | 17980:0bf37f737702 |
---|---|
179 // Compute the entry address for reexecution | 179 // Compute the entry address for reexecution |
180 static address deopt_reexecute_entry(Method* method, address bcp); | 180 static address deopt_reexecute_entry(Method* method, address bcp); |
181 // Deoptimization should reexecute this bytecode | 181 // Deoptimization should reexecute this bytecode |
182 static bool bytecode_should_reexecute(Bytecodes::Code code); | 182 static bool bytecode_should_reexecute(Bytecodes::Code code); |
183 | 183 |
184 // share implementation of size_activation and layout_activation: | 184 // deoptimization support |
185 static int size_activation(Method* method, | 185 static int size_activation(int max_stack, |
186 int temps, | 186 int temps, |
187 int popframe_args, | 187 int extra_args, |
188 int monitors, | 188 int monitors, |
189 int caller_actual_parameters, | |
190 int callee_params, | 189 int callee_params, |
191 int callee_locals, | 190 int callee_locals, |
192 bool is_top_frame, | 191 bool is_top_frame); |
193 bool is_bottom_frame) { | 192 |
194 return layout_activation(method, | 193 static void layout_activation(Method* method, |
195 temps, | |
196 popframe_args, | |
197 monitors, | |
198 caller_actual_parameters, | |
199 callee_params, | |
200 callee_locals, | |
201 (frame*)NULL, | |
202 (frame*)NULL, | |
203 is_top_frame, | |
204 is_bottom_frame); | |
205 } | |
206 | |
207 static int layout_activation(Method* method, | |
208 int temps, | 194 int temps, |
209 int popframe_args, | 195 int popframe_args, |
210 int monitors, | 196 int monitors, |
211 int caller_actual_parameters, | 197 int caller_actual_parameters, |
212 int callee_params, | 198 int callee_params, |