diff -r 808066362e58 -r 0d9a6751cb1d hotspot/src/share/vm/opto/phaseX.cpp --- a/hotspot/src/share/vm/opto/phaseX.cpp Sat Jul 19 13:43:02 2014 +0400 +++ b/hotspot/src/share/vm/opto/phaseX.cpp Mon Jul 21 10:25:58 2014 +0200 @@ -1089,7 +1089,7 @@ #endif while (i != NULL) { -#ifndef PRODUCT +#ifdef ASSERT if (loop_count >= K) { dump_infinite_loop_info(i); }