hotspot/test/compiler/rtm/locking/TestRTMDeoptOnLowAbortRatio.java
changeset 38152 80e5da81fb2c
parent 36851 03e2f4d0a421
child 39438 206a712f8f16
equal deleted inserted replaced
38151:fffedc5e5cf8 38152:80e5da81fb2c
    41 import jdk.test.lib.cli.CommandLineOptionTest;
    41 import jdk.test.lib.cli.CommandLineOptionTest;
    42 import jdk.test.lib.cli.predicate.AndPredicate;
    42 import jdk.test.lib.cli.predicate.AndPredicate;
    43 import rtm.*;
    43 import rtm.*;
    44 import rtm.predicate.SupportedCPU;
    44 import rtm.predicate.SupportedCPU;
    45 import rtm.predicate.SupportedVM;
    45 import rtm.predicate.SupportedVM;
    46 import sun.misc.Unsafe;
    46 import jdk.internal.misc.Unsafe;
    47 
    47 
    48 /**
    48 /**
    49  * Test verifies that low abort ratio method will be deoptimized with
    49  * Test verifies that low abort ratio method will be deoptimized with
    50  * <i>rtm_state_change</i> reason and will continue to use RTM-based lock
    50  * <i>rtm_state_change</i> reason and will continue to use RTM-based lock
    51  * elision after that.
    51  * elision after that.