1.1 --- a/src/share/vm/opto/loopPredicate.cpp Tue Aug 02 18:36:40 2011 +0200 1.2 +++ b/src/share/vm/opto/loopPredicate.cpp Wed Aug 10 14:06:57 2011 -0700 1.3 @@ -718,7 +718,7 @@ 1.4 } 1.5 1.6 CountedLoopNode *cl = NULL; 1.7 - if (head->is_CountedLoop()) { 1.8 + if (head->is_valid_counted_loop()) { 1.9 cl = head->as_CountedLoop(); 1.10 // do nothing for iteration-splitted loops 1.11 if (!cl->is_normal_loop()) return false;