< prev index next >

src/cpu/sparc/vm/sparc.ad

Print this page

        

@@ -2598,10 +2598,11 @@
     } else {
       emit_call_reloc(cbuf, $meth$$method, relocInfo::static_call_type);
     }
     if (_method) {  // Emit stub for static call.
       CompiledStaticCall::emit_to_interp_stub(cbuf);
+      if (Compile::current()->env()->failing()) { return; } // CodeCache is full
     }
   %}
 
   enc_class Java_Dynamic_Call (method meth) %{    // JAVA DYNAMIC CALL
     MacroAssembler _masm(&cbuf);
< prev index next >