hotspot/src/share/vm/opto/output.cpp
changeset 589 a44a1e70a3e4
parent 239 fb31825d5444
child 768 d0bebc7eefc2
child 670 ddf3e9583f2f
--- a/hotspot/src/share/vm/opto/output.cpp	Tue May 20 06:32:58 2008 -0700
+++ b/hotspot/src/share/vm/opto/output.cpp	Wed May 21 10:45:07 2008 -0700
@@ -48,6 +48,7 @@
   // Initialize the space for the BufferBlob used to find and verify
   // instruction size in MachNode::emit_size()
   init_scratch_buffer_blob();
+  if (failing())  return; // Out of memory
 
   // Make sure I can find the Start Node
   Block_Array& bbs = _cfg->_bbs;