< prev index next >

src/hotspot/cpu/aarch64/globals_aarch64.hpp

Print this page
@@ -115,11 +115,12 @@
            "Value -1 means off.")                                        \
            range(-1, 4096)                                               \
    product(ccstr, OnSpinWaitInst, "yield", DIAGNOSTIC,                   \
            "The instruction to use to implement "                        \
            "java.lang.Thread.onSpinWait()."                              \
-           "Options: none, nop, isb, yield.")                            \
+           "Valid values are: none, nop, isb, yield, sb.")               \
+           constraint(OnSpinWaitInstNameConstraintFunc, AtParse)         \
    product(uint, OnSpinWaitInstCount, 1, DIAGNOSTIC,                     \
            "The number of OnSpinWaitInst instructions to generate."      \
            "It cannot be used with OnSpinWaitInst=none.")                \
            range(1, 99)                                                  \
    product(ccstr, UseBranchProtection, "none",                           \
< prev index next >