Mercurial > hg > truffle
diff src/share/vm/c1/c1_LinearScan.cpp @ 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 | 15766b73dc1d |
children | 52b4284cb496 d04cb4166be7 |
line wrap: on
line diff
--- a/src/share/vm/c1/c1_LinearScan.cpp Mon Jun 09 15:42:31 2014 -0700 +++ b/src/share/vm/c1/c1_LinearScan.cpp Tue Apr 01 09:36:49 2014 +0200 @@ -2441,6 +2441,9 @@ 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