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 Sat Jul 14 02:14:54 2018 +0200
+++ b/src/hotspot/cpu/aarch64/globals_aarch64.hpp Sun Jul 15 18:16:55 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