mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8032410: compiler/uncommontrap/TestStackBangRbp.java times out on Solaris-Sparc V9
Make compiled code bang the stack by the worst case size of the interpreter frame at deoptimization points. Reviewed-by: twisti, kvn
This commit is contained in:
parent
bce45e9222
commit
f5adc57f94
44 changed files with 1209 additions and 760 deletions
|
@ -2451,6 +2451,9 @@ void LinearScan::compute_oop_map(IntervalWalker* iw, const LIR_OpVisitState &vis
|
|||
CodeEmitInfo* info = visitor.info_at(i);
|
||||
OopMap* oop_map = first_oop_map;
|
||||
|
||||
// compute worst case interpreter size in case of a deoptimization
|
||||
_compilation->update_interpreter_frame_size(info->interpreter_frame_size());
|
||||
|
||||
if (info->stack()->locks_size() != first_info->stack()->locks_size()) {
|
||||
// this info has a different number of locks then the precomputed oop map
|
||||
// (possible for lock and unlock instructions) -> compute oop map with
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue