diff src/share/vm/opto/escape.cpp @ 7206:d2f8c38e543d

Merge
author roland
date Fri, 07 Dec 2012 01:09:03 -0800
parents 2aff40cb4703
children b30b3c2a0cf2
line wrap: on
line diff
--- a/src/share/vm/opto/escape.cpp	Fri Nov 30 17:00:32 2012 -0800
+++ b/src/share/vm/opto/escape.cpp	Fri Dec 07 01:09:03 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"