< prev index next >

src/hotspot/cpu/ppc/c1_CodeStubs_ppc.cpp

Print this page
@@ -454,10 +454,13 @@
    __ mr(R5_ARG3, dst()->as_register());
    __ extsw(R6_ARG4, dst_pos()->as_register());
    __ extsw(R7_ARG5, length()->as_register());
  
    ce->emit_static_call_stub();
+   if (ce->compilation()->bailed_out()) {
+     return; // CodeCache is full
+   }
  
    bool success = ce->emit_trampoline_stub_for_call(SharedRuntime::get_resolve_static_call_stub());
    if (!success) { return; }
  
    __ relocate(relocInfo::static_call_type);
< prev index next >