mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
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:
parent
422cd18f23
commit
e834a48100
21 changed files with 158 additions and 60 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue