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"