1.1 --- a/src/share/vm/code/stubs.cpp Tue Apr 30 09:17:06 2013 -0400 1.2 +++ b/src/share/vm/code/stubs.cpp Tue Apr 30 11:56:52 2013 -0700 1.3 @@ -67,7 +67,7 @@ 1.4 intptr_t size = round_to(buffer_size, 2*BytesPerWord); 1.5 BufferBlob* blob = BufferBlob::create(name, size); 1.6 if( blob == NULL) { 1.7 - vm_exit_out_of_memory(size, err_msg("CodeCache: no room for %s", name)); 1.8 + vm_exit_out_of_memory(size, OOM_MALLOC_ERROR, err_msg("CodeCache: no room for %s", name)); 1.9 } 1.10 _stub_interface = stub_interface; 1.11 _buffer_size = blob->content_size();