mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 10:34:38 +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
|
@ -152,7 +152,7 @@ LIR_Opr LIR_Assembler::osrBufferPointer() {
|
|||
}
|
||||
|
||||
|
||||
int LIR_Assembler::initial_frame_size_in_bytes() {
|
||||
int LIR_Assembler::initial_frame_size_in_bytes() const {
|
||||
return in_bytes(frame_map()->framesize_in_bytes());
|
||||
}
|
||||
|
||||
|
@ -182,7 +182,7 @@ void LIR_Assembler::osr_entry() {
|
|||
int number_of_locks = entry_state->locks_size();
|
||||
|
||||
// Create a frame for the compiled activation.
|
||||
__ build_frame(initial_frame_size_in_bytes());
|
||||
__ build_frame(initial_frame_size_in_bytes(), bang_size_in_bytes());
|
||||
|
||||
// OSR buffer is
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue