[9] RFR(S): 8130309: need to bailout cleanly if CompiledStaticCall::emit_to_interp_stub fails when codecache is out of space

Roland Westrelin roland.westrelin at oracle.com
Mon Jul 27 11:31:21 UTC 2015


>> Here is the new webrev:
>> http://cr.openjdk.java.net/~thartmann/8130309/webrev.02/
> 
> CompiledStaticCall::emit_to_interp_stub() is compiler independent code. Shouldn’t the call be ciEnv::current()->record_failure() even if the method is only called from c2 (for now?)? (which is what Dean suggested as well I think)

Actually, why not have emit_to_interp_stub() returns an error and bail out from compilation in the caller?

Roland.


More information about the hotspot-compiler-dev mailing list