diff src/share/vm/runtime/globals.hpp @ 13081:e74074c34312

8028159: C2: compiler stack overflow during inlining of @ForceInline methods Reviewed-by: roland, kvn
author vlivanov
date Thu, 14 Nov 2013 09:14:39 -0800
parents 78da3894b86f
children 096c224171c4 438fe38c63c8 da862781b584
line wrap: on
line diff
--- a/src/share/vm/runtime/globals.hpp	Wed Nov 13 13:45:50 2013 +0100
+++ b/src/share/vm/runtime/globals.hpp	Thu Nov 14 09:14:39 2013 -0800
@@ -2954,6 +2954,9 @@
   product(intx, MaxRecursiveInlineLevel, 1,                                 \
           "maximum number of nested recursive calls that are inlined")      \
                                                                             \
+  develop(intx, MaxForceInlineLevel, 100,                                   \
+          "maximum number of nested @ForceInline calls that are inlined")   \
+                                                                            \
   product_pd(intx, InlineSmallCode,                                         \
           "Only inline already compiled methods if their code size is "     \
           "less than this")                                                 \