8130309: Need to bailout cleanly if creation of stubs fails when codecache is out of space

Check for failed expansion of stub section in code buffer and bailout.

Reviewed-by: kvn, adinn, dlong, roland, twisti
This commit is contained in:
Tobias Hartmann 2015-07-29 08:05:21 +02:00
parent 422cd18f23
commit e834a48100
21 changed files with 158 additions and 60 deletions

View file

@ -443,6 +443,7 @@ void LIR_Assembler::emit_call(LIR_OpJavaCall* op) {
// emit the static call stub stuff out of line
emit_static_call_stub();
CHECK_BAILOUT();
switch (op->code()) {
case lir_static_call: