changeset 1970:a21ff35351ec

7003130: assert(iterations<CG_BUILD_ITER_LIMIT) failed: infinite EA connection graph Summary: bump CG_BUILD_ITER_LIMIT to 20 Reviewed-by: iveresov
author kvn
date Tue, 21 Dec 2010 13:56:40 -0800
parents ef3c5db0b3ae
children 352765ed11a1
files src/share/vm/opto/escape.cpp
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/opto/escape.cpp	Tue Dec 21 04:37:30 2010 -0800
+++ b/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;