7003130: assert(iterations<CG_BUILD_ITER_LIMIT) failed: infinite EA connection graph
Summary: bump CG_BUILD_ITER_LIMIT to 20
Reviewed-by: iveresov
--- 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;