< prev index next >
src/cpu/aarch64/vm/aarch64.ad
Print this page
@@ -3883,10 +3883,11 @@
if (_method) {
// Emit stub for static call
CompiledStaticCall::emit_to_interp_stub(cbuf);
}
+ if (Compile::current()->env()->failing()) { return; } // CodeCache is full
%}
enc_class aarch64_enc_java_dynamic_call(method meth) %{
MacroAssembler _masm(&cbuf);
__ ic_call((address)$meth$$method);
@@ -3909,10 +3910,11 @@
// which loads the absolute address into a register.
address entry = (address)$meth$$method;
CodeBlob *cb = CodeCache::find_blob(entry);
if (cb) {
__ trampoline_call(Address(entry, relocInfo::runtime_call_type));
+ if (Compile::current()->env()->failing()) { return; } // CodeCache is full
} else {
int gpcnt;
int fpcnt;
int rtype;
getCallInfo(tf(), gpcnt, fpcnt, rtype);
< prev index next >