test/hotspot/jtreg/compiler/rtm/cli/TestUseRTMForStackLocksOptionOnUnsupportedConfig.java
changeset 51753 763aa4d1d596
parent 47216 71c04702a3d5
equal deleted inserted replaced
51752:43323ced5e40 51753:763aa4d1d596
    22  */
    22  */
    23 
    23 
    24 /**
    24 /**
    25  * @test
    25  * @test
    26  * @bug 8031320
    26  * @bug 8031320
    27  * @summary Verify UseRTMForStackLocks option processing on CPUs without
    27  * @summary Verify UseRTMForStackLocks option processing on CPUs or OSs without
    28  *          rtm support and/or on VMs without rtm locking support.
    28  *          rtm support and/or on VMs without rtm locking support.
    29  * @library /test/lib /
    29  * @library /test/lib /
    30  * @modules java.base/jdk.internal.misc
    30  * @modules java.base/jdk.internal.misc
    31  *          java.management
    31  *          java.management
    32  * @requires !(vm.flavor == "server" & !vm.emulatedClient & vm.rtm.cpu & vm.rtm.os)
    32  * @requires !vm.rtm.cpu & vm.rtm.compiler
    33  * @build sun.hotspot.WhiteBox
    33  * @build sun.hotspot.WhiteBox
    34  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
    34  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
    35  *                                sun.hotspot.WhiteBox$WhiteBoxPermission
    35  *                                sun.hotspot.WhiteBox$WhiteBoxPermission
    36  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
    36  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
    37  *                   -XX:+WhiteBoxAPI
    37  *                   -XX:+WhiteBoxAPI