Mercurial > hg > truffle
diff src/share/vm/opto/loopopts.cpp @ 20671:9e69e8d1c900
8058148: MaxNodeLimit and LiveNodeCountInliningCutoff
Reviewed-by: kvn, roland
author | vlivanov |
---|---|
date | Mon, 24 Nov 2014 07:29:03 -0800 |
parents | 4077c61b03a0 |
children | b6585ac86988 |
line wrap: on
line diff
--- a/src/share/vm/opto/loopopts.cpp Tue Nov 11 04:46:13 2014 -0800 +++ b/src/share/vm/opto/loopopts.cpp Mon Nov 24 07:29:03 2014 -0800 @@ -734,7 +734,7 @@ for (DUIterator_Fast imax, i = region->fast_outs(imax); i < imax; i++) { weight += region->fast_out(i)->outcnt(); } - int nodes_left = MaxNodeLimit - C->live_nodes(); + int nodes_left = C->max_node_limit() - C->live_nodes(); if (weight * 8 > nodes_left) { #ifndef PRODUCT if (PrintOpto)