hotspot/src/share/vm/opto/bytecodeInfo.cpp
changeset 21582 6c76cdd733fe
parent 20689 bc5805c29150
child 22234 da823d78ad65
--- a/hotspot/src/share/vm/opto/bytecodeInfo.cpp	Wed Nov 13 13:45:50 2013 +0100
+++ b/hotspot/src/share/vm/opto/bytecodeInfo.cpp	Thu Nov 14 09:14:39 2013 -0800
@@ -389,6 +389,10 @@
     return false;
   }
   if (inline_level() > _max_inline_level) {
+    if (callee_method->force_inline() && inline_level() > MaxForceInlineLevel) {
+      set_msg("MaxForceInlineLevel");
+      return false;
+    }
     if (!callee_method->force_inline() || !IncrementalInline) {
       set_msg("inlining too deep");
       return false;