diff src/share/vm/opto/c2_globals.hpp @ 155:723be81c1212

6701887: JDK7 server VM in endless loop in Node::dominates Summary: The method Node::dominates loops in the dead code which does not have a Region node. Reviewed-by: jrose, never
author kvn
date Thu, 15 May 2008 22:43:11 -0700
parents 99269dbf4ba8
children d1605aabd0a1 524eca34ea76
line wrap: on
line diff
--- a/src/share/vm/opto/c2_globals.hpp	Thu May 15 22:40:43 2008 -0700
+++ b/src/share/vm/opto/c2_globals.hpp	Thu May 15 22:43:11 2008 -0700
@@ -390,5 +390,8 @@
                                                                             \
   product(intx, MaxLabelRootDepth, 1100,                                    \
           "Maximum times call Label_Root to prevent stack overflow")        \
+                                                                            \
+  diagnostic(intx, DominatorSearchLimit, 1000,                              \
+          "Iterations limit in Node::dominates")                            \
 
 C2_FLAGS(DECLARE_DEVELOPER_FLAG, DECLARE_PD_DEVELOPER_FLAG, DECLARE_PRODUCT_FLAG, DECLARE_PD_PRODUCT_FLAG, DECLARE_DIAGNOSTIC_FLAG, DECLARE_NOTPRODUCT_FLAG)