8051303: 'optimized' build broken by JDK-8039425
Summary: Changed preprocessor directive in PhaseIterGVN::optimize()
Reviewed-by: kvn, anoll
Contributed-by: Zoltan Majo <zoltan.majo@oracle.com>
--- 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);
}