1.1 --- a/src/share/vm/c1/c1_GraphBuilder.cpp Thu Dec 02 01:02:55 2010 -0800 1.2 +++ b/src/share/vm/c1/c1_GraphBuilder.cpp Thu Dec 02 17:21:12 2010 -0800 1.3 @@ -3377,6 +3377,9 @@ 1.4 INLINE_BAILOUT("total inlining greater than DesiredMethodLimit"); 1.5 } 1.6 1.7 + if (is_profiling() && !callee->ensure_method_data()) { 1.8 + INLINE_BAILOUT("mdo allocation failed"); 1.9 + } 1.10 #ifndef PRODUCT 1.11 // printing 1.12 if (PrintInlining) {