1.1 --- a/src/share/vm/opto/loopTransform.cpp Tue May 10 00:45:03 2011 -0700 1.2 +++ b/src/share/vm/opto/loopTransform.cpp Tue May 10 12:57:21 2011 -0700 1.3 @@ -1230,7 +1230,7 @@ 1.4 set_ctrl(new_limit, C->root()); 1.5 } else { 1.6 // Limit is not constant. 1.7 - { 1.8 + if (loop_head->unrolled_count() == 1) { // only for first unroll 1.9 // Separate limit by Opaque node in case it is an incremented 1.10 // variable from previous loop to avoid using pre-incremented 1.11 // value which could increase register pressure.