diff src/share/vm/opto/c2_globals.hpp @ 12027:bcc4f6f54d83

8022993: Convert MAX_UNROLL constant to LoopMaxUnroll C2 flag Summary: Replace MAX_UNROLL constant with new C2 LoopMaxUnroll flag. Reviewed-by: roland
author kvn
date Wed, 14 Aug 2013 10:21:26 -0700
parents 693e4d04fd09
children edb5ab0f3fe5 e2722a66aba7
line wrap: on
line diff
--- a/src/share/vm/opto/c2_globals.hpp	Sat Aug 10 10:01:12 2013 +0400
+++ b/src/share/vm/opto/c2_globals.hpp	Wed Aug 14 10:21:26 2013 -0700
@@ -179,6 +179,9 @@
   product_pd(intx,  LoopUnrollLimit,                                        \
           "Unroll loop bodies with node count less than this")              \
                                                                             \
+  product(intx,  LoopMaxUnroll, 16,                                         \
+          "Maximum number of unrolls for main loop")                        \
+                                                                            \
   product(intx,  LoopUnrollMin, 4,                                          \
           "Minimum number of unroll loop bodies before checking progress"   \
           "of rounds of unroll,optimize,..")                                \