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
--- 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