8206265: aarch64 jtreg: assert in TestOptionsWithRanges.jtr
authordsamersoff
Sun, 15 Jul 2018 18:16:55 +0300
changeset 51093 4db6e8715e35
parent 51092 3b5fd72147c9
child 51094 a49d106e9b7c
child 56833 be0819373531
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	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