test/hotspot/jtreg/compiler/rtm/cli/TestUseRTMLockingOptionOnUnsupportedCPU.java
changeset 51753 763aa4d1d596
parent 50339 ede65c4fb6da
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 UseRTMLocking option processing on CPU without
    27  * @summary Verify UseRTMLocking option processing on CPUs without
    28  *          rtm support.
    28  *          rtm 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.rtm.cpu) & (vm.flavor == "server" & !vm.emulatedClient)
    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