hotspot/src/share/vm/opto/phaseX.cpp
changeset 17383 3665c0901a0d
parent 16619 a0e531dcc9e9
child 19330 49d6711171e6
--- a/hotspot/src/share/vm/opto/phaseX.cpp	Mon May 06 19:49:23 2013 -0700
+++ b/hotspot/src/share/vm/opto/phaseX.cpp	Wed May 08 15:08:01 2013 -0700
@@ -882,7 +882,7 @@
       return;
     }
     Node *n  = _worklist.pop();
-    if (++loop_count >= K * C->unique()) {
+    if (++loop_count >= K * C->live_nodes()) {
       debug_only(n->dump(4);)
       assert(false, "infinite loop in PhaseIterGVN::optimize");
       C->record_method_not_compilable("infinite loop in PhaseIterGVN::optimize");