Mercurial > hg > truffle
comparison src/share/vm/opto/escape.cpp @ 2086: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 | f95d63e2154a |
children | 3763ca6579b7 |
comparison
equal
deleted
inserted
replaced
2085:ef3c5db0b3ae | 2086:a21ff35351ec |
---|---|
1607 // edges will be created. Walk over interesting | 1607 // edges will be created. Walk over interesting |
1608 // nodes again until no new edges are created. | 1608 // nodes again until no new edges are created. |
1609 // | 1609 // |
1610 // Normally only 1-3 passes needed to build | 1610 // Normally only 1-3 passes needed to build |
1611 // Connection Graph depending on graph complexity. | 1611 // Connection Graph depending on graph complexity. |
1612 // Set limit to 10 to catch situation when something | 1612 // Observed 8 passes in jvm2008 compiler.compiler. |
1613 // Set limit to 20 to catch situation when something | |
1613 // did go wrong and recompile the method without EA. | 1614 // did go wrong and recompile the method without EA. |
1614 | 1615 |
1615 #define CG_BUILD_ITER_LIMIT 10 | 1616 #define CG_BUILD_ITER_LIMIT 20 |
1616 | 1617 |
1617 uint length = worklist.length(); | 1618 uint length = worklist.length(); |
1618 int iterations = 0; | 1619 int iterations = 0; |
1619 while(_progress && (iterations++ < CG_BUILD_ITER_LIMIT)) { | 1620 while(_progress && (iterations++ < CG_BUILD_ITER_LIMIT)) { |
1620 _progress = false; | 1621 _progress = false; |