8130309: Need to bailout cleanly if creation of stubs fails when codecache is out of space

Check for failed expansion of stub section in code buffer and bailout.

Reviewed-by: kvn, adinn, dlong, roland, twisti
This commit is contained in:
Tobias Hartmann 2015-07-29 08:05:21 +02:00
parent 422cd18f23
commit e834a48100
21 changed files with 158 additions and 60 deletions

View file

@ -60,8 +60,9 @@ bool CompiledIC::is_icholder_call_site(virtual_call_Relocation* call_site) {
// ----------------------------------------------------------------------------
void CompiledStaticCall::emit_to_interp_stub(CodeBuffer &cbuf) {
address CompiledStaticCall::emit_to_interp_stub(CodeBuffer &cbuf) {
ShouldNotReachHere(); // Only needed for COMPILER2.
return NULL;
}
int CompiledStaticCall::to_interp_stub_size() {