< prev index next >

src/cpu/sparc/vm/c1_CodeStubs_sparc.cpp

Print this page

        

@@ -430,10 +430,11 @@
   __ mov(dst()->as_register(),     O2);
   __ mov(dst_pos()->as_register(), O3);
   __ mov(length()->as_register(),  O4);
 
   ce->emit_static_call_stub();
+  if (ce->compilation()->bailed_out()) { return; } // CodeCache is full
 
   __ call(SharedRuntime::get_resolve_static_call_stub(), relocInfo::static_call_type);
   __ delayed()->nop();
   ce->add_call_info_here(info());
   ce->verify_oop_map(info());
< prev index next >