hotspot/src/share/vm/code/stubs.cpp
changeset 17087 f0b76c4c93a0
parent 16368 713209c45a82
child 22234 da823d78ad65
--- a/hotspot/src/share/vm/code/stubs.cpp	Tue Apr 30 09:17:06 2013 -0400
+++ b/hotspot/src/share/vm/code/stubs.cpp	Tue Apr 30 11:56:52 2013 -0700
@@ -67,7 +67,7 @@
   intptr_t size = round_to(buffer_size, 2*BytesPerWord);
   BufferBlob* blob = BufferBlob::create(name, size);
   if( blob == NULL) {
-    vm_exit_out_of_memory(size, err_msg("CodeCache: no room for %s", name));
+    vm_exit_out_of_memory(size, OOM_MALLOC_ERROR, err_msg("CodeCache: no room for %s", name));
   }
   _stub_interface  = stub_interface;
   _buffer_size     = blob->content_size();