7003130: assert(iterations<CG_BUILD_ITER_LIMIT) failed: infinite EA connection graph
authorkvn
Tue, 21 Dec 2010 13:56:40 -0800
changeset 7710 f2503940a87b
parent 7709 8e90b245b989
child 7711 59d53a41b3e7
7003130: assert(iterations<CG_BUILD_ITER_LIMIT) failed: infinite EA connection graph Summary: bump CG_BUILD_ITER_LIMIT to 20 Reviewed-by: iveresov
hotspot/src/share/vm/opto/escape.cpp
--- a/hotspot/src/share/vm/opto/escape.cpp	Tue Dec 21 04:37:30 2010 -0800
+++ b/hotspot/src/share/vm/opto/escape.cpp	Tue Dec 21 13:56:40 2010 -0800
@@ -1609,10 +1609,11 @@
   //
   // Normally only 1-3 passes needed to build
   // Connection Graph depending on graph complexity.
-  // Set limit to 10 to catch situation when something
+  // Observed 8 passes in jvm2008 compiler.compiler.
+  // Set limit to 20 to catch situation when something
   // did go wrong and recompile the method without EA.
 
-#define CG_BUILD_ITER_LIMIT 10
+#define CG_BUILD_ITER_LIMIT 20
 
   uint length = worklist.length();
   int iterations = 0;