hotspot/test/compiler/aot/RecompilationTest.java
changeset 42660 90e411b50d88
parent 42657 9e1850986b28
child 42662 ba98de0931bb
equal deleted inserted replaced
42659:b264f522c689 42660:90e411b50d88
    28  * @modules java.base/jdk.internal.misc
    28  * @modules java.base/jdk.internal.misc
    29  * @build compiler.aot.RecompilationTest
    29  * @build compiler.aot.RecompilationTest
    30  *        compiler.aot.AotCompiler
    30  *        compiler.aot.AotCompiler
    31  * @run main ClassFileInstaller sun.hotspot.WhiteBox
    31  * @run main ClassFileInstaller sun.hotspot.WhiteBox
    32  *     sun.hotspot.WhiteBox$WhiteBoxPermission
    32  *     sun.hotspot.WhiteBox$WhiteBoxPermission
    33  * @run main compiler.aot.AotCompiler -libname libRecompilationTest.so
    33  * @run main compiler.aot.AotCompiler -libname libRecompilationTest1.so
    34  *     -class compiler.whitebox.SimpleTestCaseHelper
    34  *     -class compiler.whitebox.SimpleTestCaseHelper
    35  *     -extraopt -Dgraal.TieredAOT=true -extraopt -Dgraal.ProfileSimpleMethods=true
    35  *     -extraopt -Dgraal.TieredAOT=true -extraopt -Dgraal.ProfileSimpleMethods=true
    36  *     -extraopt -XX:+UnlockDiagnosticVMOptions -extraopt -XX:+WhiteBoxAPI -extraopt -Xbootclasspath/a:.
    36  *     -extraopt -XX:+UnlockDiagnosticVMOptions -extraopt -XX:+WhiteBoxAPI -extraopt -Xbootclasspath/a:.
    37  *     -extraopt -XX:-UseCompressedOops
    37  *     -extraopt -XX:-UseCompressedOops
       
    38  *     -extraopt -XX:CompileCommand=dontinline,compiler.whitebox.SimpleTestCaseHelper::method
    38  * @run main/othervm -Xmixed -Xbatch -XX:+UseAOT -XX:+TieredCompilation
    39  * @run main/othervm -Xmixed -Xbatch -XX:+UseAOT -XX:+TieredCompilation
    39  *     -XX:-UseCounterDecay -XX:-UseCompressedOops
    40  *     -XX:-UseCounterDecay -XX:-UseCompressedOops
    40  *     -XX:CompileCommand=dontinline,*.*
    41  *     -XX:-Inline
    41  *     -XX:AOTLibrary=./libRecompilationTest.so -Xbootclasspath/a:.
    42  *     -XX:AOTLibrary=./libRecompilationTest1.so -Xbootclasspath/a:.
    42  *     -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
    43  *     -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
    43  *     -Dcompiler.aot.RecompilationTest.check_level=1
    44  *     -Dcompiler.aot.RecompilationTest.check_level=1
    44  *     compiler.aot.RecompilationTest
    45  *     compiler.aot.RecompilationTest
    45  * @run main compiler.aot.AotCompiler -libname libRecompilationTest.so
    46  * @run main compiler.aot.AotCompiler -libname libRecompilationTest2.so
    46  *     -class compiler.whitebox.SimpleTestCaseHelper
    47  *     -class compiler.whitebox.SimpleTestCaseHelper
    47  *     -extraopt -Dgraal.TieredAOT=false
    48  *     -extraopt -Dgraal.TieredAOT=false
    48  *     -extraopt -XX:+UnlockDiagnosticVMOptions -extraopt -XX:+WhiteBoxAPI -extraopt -Xbootclasspath/a:.
    49  *     -extraopt -XX:+UnlockDiagnosticVMOptions -extraopt -XX:+WhiteBoxAPI -extraopt -Xbootclasspath/a:.
    49  * @run main/othervm -Xmixed -Xbatch -XX:+UseAOT -XX:+TieredCompilation -XX:-UseCounterDecay
    50  *     -extraopt -XX:-UseCompressedOops
    50  *     -XX:CompileCommand=dontinline,*.*
    51  *     -extraopt -XX:CompileCommand=dontinline,compiler.whitebox.SimpleTestCaseHelper::method
    51  *     -XX:AOTLibrary=./libRecompilationTest.so -Xbootclasspath/a:.
    52  * @run main/othervm -Xmixed -Xbatch -XX:+UseAOT -XX:+TieredCompilation
       
    53  *     -XX:-UseCounterDecay -XX:-UseCompressedOops
       
    54  *     -XX:-Inline
       
    55  *     -XX:AOTLibrary=./libRecompilationTest2.so -Xbootclasspath/a:.
    52  *     -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
    56  *     -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
    53  *     -Dcompiler.aot.RecompilationTest.check_level=-1
    57  *     -Dcompiler.aot.RecompilationTest.check_level=-1
    54  *     compiler.aot.RecompilationTest
    58  *     compiler.aot.RecompilationTest
    55  * @run main/othervm -Xmixed -Xbatch -XX:+UseAOT -XX:-TieredCompilation -XX:-UseCounterDecay
    59  * @run main/othervm -Xmixed -Xbatch -XX:+UseAOT -XX:-TieredCompilation
    56  *     -XX:CompileCommand=dontinline,*.*
    60  *     -XX:-UseCounterDecay -XX:-UseCompressedOops
    57  *     -XX:AOTLibrary=./libRecompilationTest.so -Xbootclasspath/a:.
    61  *     -XX:-Inline
       
    62  *     -XX:AOTLibrary=./libRecompilationTest2.so -Xbootclasspath/a:.
    58  *     -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
    63  *     -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
    59  *     -Dcompiler.aot.RecompilationTest.check_level=-1
    64  *     -Dcompiler.aot.RecompilationTest.check_level=-1
    60  *     compiler.aot.RecompilationTest
    65  *     compiler.aot.RecompilationTest
    61  * @summary check if recompilation after aot goes fine
    66  * @summary check if recompilation after aot goes fine
    62  */
    67  */