hotspot/src/share/vm/opto/escape.cpp
changeset 14623 70c4c1be0a14
parent 14395 2395da512d6b
child 15242 695bb216be99
--- a/hotspot/src/share/vm/opto/escape.cpp	Tue Nov 27 12:48:52 2012 -0800
+++ b/hotspot/src/share/vm/opto/escape.cpp	Tue Nov 27 17:24:15 2012 -0800
@@ -2320,7 +2320,7 @@
       }
     }
   }
-  if ((int)C->unique() + 2*NodeLimitFudgeFactor > MaxNodeLimit) {
+  if ((int) (C->live_nodes() + 2*NodeLimitFudgeFactor) > MaxNodeLimit) {
     if (C->do_escape_analysis() == true && !C->failing()) {
       // Retry compilation without escape analysis.
       // If this is the first failure, the sentinel string will "stick"