hotspot/src/share/vm/c1/c1_GraphBuilder.cpp
changeset 7432 f06f1253c317
parent 7427 d7b79a367474
child 8065 7ca689ce3d32
child 7913 dd096a83bdbb
--- a/hotspot/src/share/vm/c1/c1_GraphBuilder.cpp	Thu Dec 02 01:02:55 2010 -0800
+++ b/hotspot/src/share/vm/c1/c1_GraphBuilder.cpp	Thu Dec 02 17:21:12 2010 -0800
@@ -3377,6 +3377,9 @@
     INLINE_BAILOUT("total inlining greater than DesiredMethodLimit");
   }
 
+  if (is_profiling() && !callee->ensure_method_data()) {
+    INLINE_BAILOUT("mdo allocation failed");
+  }
 #ifndef PRODUCT
       // printing
   if (PrintInlining) {