--- old/src/share/vm/opto/escape.cpp 2014-11-19 23:23:51.000000000 +0400 +++ new/src/share/vm/opto/escape.cpp 2014-11-19 23:23:51.000000000 +0400 @@ -2387,7 +2387,7 @@ } } } - if ((int) (C->live_nodes() + 2*NodeLimitFudgeFactor) > MaxNodeLimit) { + if (C->live_nodes() + 2*NodeLimitFudgeFactor > C->max_node_limit()) { if (C->do_escape_analysis() == true && !C->failing()) { // Retry compilation without escape analysis. // If this is the first failure, the sentinel string will "stick"