--- old/src/share/vm/opto/loopnode.hpp 2015-03-19 12:50:36.361349100 -0700 +++ new/src/share/vm/opto/loopnode.hpp 2015-03-19 12:50:36.164349100 -0700 @@ -872,6 +872,9 @@ // Unroll the loop body one step - make each trip do 2 iterations. void do_unroll( IdealLoopTree *loop, Node_List &old_new, bool adjust_min_trip ); + // Mark vector reduction candidates before loop unrolling + void mark_reductions( IdealLoopTree *loop ); + // Return true if exp is a constant times an induction var bool is_scaled_iv(Node* exp, Node* iv, int* p_scale);