src/share/vm/opto/escape.cpp

changeset 7385
9e69e8d1c900
parent 7299
90297adbda9d
child 7402
f913964f3fde
     1.1 --- a/src/share/vm/opto/escape.cpp	Tue Nov 11 04:46:13 2014 -0800
     1.2 +++ b/src/share/vm/opto/escape.cpp	Mon Nov 24 07:29:03 2014 -0800
     1.3 @@ -2409,7 +2409,7 @@
     1.4        }
     1.5      }
     1.6    }
     1.7 -  if ((int) (C->live_nodes() + 2*NodeLimitFudgeFactor) > MaxNodeLimit) {
     1.8 +  if (C->live_nodes() + 2*NodeLimitFudgeFactor > C->max_node_limit()) {
     1.9      if (C->do_escape_analysis() == true && !C->failing()) {
    1.10        // Retry compilation without escape analysis.
    1.11        // If this is the first failure, the sentinel string will "stick"

mercurial