1.1 --- a/src/cpu/sparc/vm/c1_CodeStubs_sparc.cpp Mon Mar 14 12:35:48 2016 +0300 1.2 +++ b/src/cpu/sparc/vm/c1_CodeStubs_sparc.cpp Thu Apr 21 16:19:33 2016 +0300 1.3 @@ -431,6 +431,9 @@ 1.4 __ mov(length()->as_register(), O4); 1.5 1.6 ce->emit_static_call_stub(); 1.7 + if (ce->compilation()->bailed_out()) { 1.8 + return; // CodeCache is full 1.9 + } 1.10 1.11 __ call(SharedRuntime::get_resolve_static_call_stub(), relocInfo::static_call_type); 1.12 __ delayed()->nop();