8206265: aarch64 jtreg: assert in TestOptionsWithRanges.jtr
authordsamersoff
Sun, 15 Jul 2018 20:15:17 +0300
changeset 51121 44483330f7cf
parent 51120 dccdf51b10dd
child 51122 3c0e39975ae5
8206265: aarch64 jtreg: assert in TestOptionsWithRanges.jtr Summary: Limit flag range to don't overflow 12bit instruction operand Reviewed-by: aph, dsamersoff Contributed-by: boris.ulasevich@bell-sw.com
src/hotspot/cpu/aarch64/globals_aarch64.hpp
--- a/src/hotspot/cpu/aarch64/globals_aarch64.hpp	Fri Jul 13 17:42:24 2018 +0200
+++ b/src/hotspot/cpu/aarch64/globals_aarch64.hpp	Sun Jul 15 20:15:17 2018 +0300
@@ -164,7 +164,7 @@
   product(int, SoftwarePrefetchHintDistance, -1,                        \
           "Use prfm hint with specified distance in compiled code."     \
           "Value -1 means off.")                                        \
-          range(-1, 32760)
+          range(-1, 4096)
 #endif