8050147: StoreLoad barrier interferes with stack usages

Reviewed-by: jrose, kvn, drchase
This commit is contained in:
Aleksey Shipilev 2014-09-04 13:11:25 +04:00
parent 0bfeda937a
commit 13329b5040
14 changed files with 79 additions and 5 deletions

View file

@ -430,7 +430,7 @@ int Compile::frame_size_in_words() const {
// removes the need to bang the stack in the deoptimization blob which
// in turn simplifies stack overflow handling.
int Compile::bang_size_in_bytes() const {
return MAX2(_interpreter_frame_size, frame_size_in_bytes());
return MAX2(frame_size_in_bytes() + os::extra_bang_size_in_bytes(), _interpreter_frame_size);
}
// ============================================================================