--- old/src/cpu/sparc/vm/sparc.ad 2015-07-23 15:44:09.197312799 +0200 +++ new/src/cpu/sparc/vm/sparc.ad 2015-07-23 15:44:09.109312796 +0200 @@ -2600,6 +2600,7 @@ } if (_method) { // Emit stub for static call. CompiledStaticCall::emit_to_interp_stub(cbuf); + if (Compile::current()->env()->failing()) { return; } // CodeCache is full } %}