hotspot/test/compiler/rtm/locking/TestRTMAbortRatio.java
changeset 38152 80e5da81fb2c
parent 36851 03e2f4d0a421
child 39438 206a712f8f16
equal deleted inserted replaced
38151:fffedc5e5cf8 38152:80e5da81fb2c
    42 import jdk.test.lib.cli.CommandLineOptionTest;
    42 import jdk.test.lib.cli.CommandLineOptionTest;
    43 import jdk.test.lib.cli.predicate.AndPredicate;
    43 import jdk.test.lib.cli.predicate.AndPredicate;
    44 import rtm.*;
    44 import rtm.*;
    45 import rtm.predicate.SupportedCPU;
    45 import rtm.predicate.SupportedCPU;
    46 import rtm.predicate.SupportedVM;
    46 import rtm.predicate.SupportedVM;
    47 import sun.misc.Unsafe;
    47 import jdk.internal.misc.Unsafe;
    48 
    48 
    49 /**
    49 /**
    50  * Test verifies that method will be deoptimized on high abort ratio
    50  * Test verifies that method will be deoptimized on high abort ratio
    51  * as soon as abort ratio reaches RTMAbortRatio's value.
    51  * as soon as abort ratio reaches RTMAbortRatio's value.
    52  */
    52  */