1.1 --- a/src/share/vm/opto/loopUnswitch.cpp Mon Mar 21 02:30:49 2011 -0700 1.2 +++ b/src/share/vm/opto/loopUnswitch.cpp Mon Mar 21 11:28:14 2011 -0700 1.3 @@ -110,6 +110,13 @@ 1.4 IfNode* unswitch_iff = find_unswitching_candidate((const IdealLoopTree *)loop); 1.5 assert(unswitch_iff != NULL, "should be at least one"); 1.6 1.7 +#ifndef PRODUCT 1.8 + if (TraceLoopOpts) { 1.9 + tty->print("Unswitch %d ", head->unswitch_count()+1); 1.10 + loop->dump_head(); 1.11 + } 1.12 +#endif 1.13 + 1.14 // Need to revert back to normal loop 1.15 if (head->is_CountedLoop() && !head->as_CountedLoop()->is_normal_loop()) { 1.16 head->as_CountedLoop()->set_normal_loop();