Merge
This commit is contained in:
commit
3f21781299
@ -25,19 +25,17 @@
|
||||
* @test
|
||||
* @bug 8072016
|
||||
* @summary Infinite deoptimization/recompilation cycles in case of arraycopy with tightly coupled allocation
|
||||
* @library /testlibrary /test/lib /compiler/whitebox /
|
||||
* @library /testlibrary /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestArrayCopyNoInitDeopt
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* @run main ClassFileInstaller jdk.test.lib.Platform
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* jdk.test.lib.Platform
|
||||
* @run main/othervm -Xmixed -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
|
||||
* -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:TypeProfileLevel=020
|
||||
* TestArrayCopyNoInitDeopt
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
import sun.hotspot.WhiteBox;
|
||||
import sun.hotspot.code.NMethod;
|
||||
import jdk.test.lib.Platform;
|
||||
|
@ -29,6 +29,7 @@
|
||||
## @ignore 8029528
|
||||
## @summary testing of ciReplay with using generated by SA replay.txt
|
||||
## @author igor.ignatyev@oracle.com
|
||||
## @requires vm.flightRecorder != true
|
||||
## @run shell TestSA.sh
|
||||
##
|
||||
|
||||
|
@ -28,6 +28,7 @@
|
||||
## @bug 8011675
|
||||
## @summary testing of ciReplay with using generated by VM replay.txt
|
||||
## @author igor.ignatyev@oracle.com
|
||||
## @requires vm.flightRecorder != true
|
||||
## @run shell TestVM.sh
|
||||
##
|
||||
|
||||
|
@ -28,6 +28,7 @@
|
||||
## @bug 8011675
|
||||
## @summary testing of ciReplay with using generated by VM replay.txt w/o comp_level
|
||||
## @author igor.ignatyev@oracle.com
|
||||
## @requires vm.flightRecorder != true
|
||||
## @run shell TestVM_no_comp_level.sh
|
||||
##
|
||||
|
||||
|
@ -26,12 +26,12 @@
|
||||
* @bug 8137167
|
||||
* @summary Tests CompileCommand=compileonly
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||
* @library /testlibrary /test/lib ../share /
|
||||
* @build compiler.compilercontrol.commandfile.CompileOnlyTest
|
||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||
* compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.*
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver compiler.compilercontrol.commandfile.CompileOnlyTest
|
||||
*/
|
||||
|
||||
|
@ -26,12 +26,12 @@
|
||||
* @bug 8137167
|
||||
* @summary Tests CompileCommand=exclude
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||
* @library /testlibrary /test/lib ../share /
|
||||
* @build compiler.compilercontrol.commandfile.ExcludeTest
|
||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||
* compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.*
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver compiler.compilercontrol.commandfile.ExcludeTest
|
||||
*/
|
||||
|
||||
|
@ -26,12 +26,12 @@
|
||||
* @bug 8137167
|
||||
* @summary Tests CompileCommand=log
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||
* @library /testlibrary /test/lib ../share /
|
||||
* @build compiler.compilercontrol.commandfile.LogTest
|
||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||
* compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.*
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver compiler.compilercontrol.commandfile.LogTest
|
||||
*/
|
||||
|
||||
|
@ -26,12 +26,12 @@
|
||||
* @bug 8137167
|
||||
* @summary Tests CompileCommand=print
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||
* @library /testlibrary /test/lib ../share /
|
||||
* @build compiler.compilercontrol.commandfile.PrintTest
|
||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||
* compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.*
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver compiler.compilercontrol.commandfile.PrintTest
|
||||
*/
|
||||
|
||||
|
@ -26,12 +26,12 @@
|
||||
* @bug 8137167
|
||||
* @summary Tests CompileCommand=compileonly
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||
* @library /testlibrary /test/lib ../share /
|
||||
* @build compiler.compilercontrol.commands.CompileOnlyTest
|
||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||
* compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.*
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver compiler.compilercontrol.commands.CompileOnlyTest
|
||||
*/
|
||||
|
||||
|
@ -26,12 +26,12 @@
|
||||
* @bug 8137167
|
||||
* @summary Tests CompileCommand=exclude
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||
* @library /testlibrary /test/lib ../share /
|
||||
* @build compiler.compilercontrol.commands.ExcludeTest
|
||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||
* compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.*
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver compiler.compilercontrol.commands.ExcludeTest
|
||||
*/
|
||||
|
||||
|
@ -26,12 +26,12 @@
|
||||
* @bug 8137167
|
||||
* @summary Tests CompileCommand=log
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||
* @library /testlibrary /test/lib ../share /
|
||||
* @build compiler.compilercontrol.commands.LogTest
|
||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||
* compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.*
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver compiler.compilercontrol.commands.LogTest
|
||||
*/
|
||||
|
||||
|
@ -26,12 +26,12 @@
|
||||
* @bug 8137167
|
||||
* @summary Tests CompileCommand=print
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||
* @library /testlibrary /test/lib ../share /
|
||||
* @build compiler.compilercontrol.commands.PrintTest
|
||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||
* compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.*
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver compiler.compilercontrol.commands.PrintTest
|
||||
*/
|
||||
|
||||
|
@ -26,12 +26,12 @@
|
||||
* @bug 8137167
|
||||
* @summary Tests directives to be able to compile only specified methods
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||
* @library /testlibrary /test/lib ../share /
|
||||
* @build compiler.compilercontrol.directives.CompileOnlyTest
|
||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||
* compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.*
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver compiler.compilercontrol.directives.CompileOnlyTest
|
||||
*/
|
||||
|
||||
|
@ -26,12 +26,12 @@
|
||||
* @bug 8137167
|
||||
* @summary Tests directives to be able to exclude methods from compilation
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||
* @library /testlibrary /test/lib ../share /
|
||||
* @build compiler.compilercontrol.directives.ExcludeTest
|
||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||
* compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.*
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver compiler.compilercontrol.directives.ExcludeTest
|
||||
*/
|
||||
|
||||
|
@ -26,12 +26,12 @@
|
||||
* @bug 8137167
|
||||
* @summary Tests directives to be able to turn on LogCompilation
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||
* @library /testlibrary /test/lib ../share /
|
||||
* @build compiler.compilercontrol.directives.LogTest
|
||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||
* compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.*
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver compiler.compilercontrol.directives.LogTest
|
||||
*/
|
||||
|
||||
|
@ -26,12 +26,12 @@
|
||||
* @bug 8137167
|
||||
* @summary Tests directives to be able to turn on print_assembly
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||
* @library /testlibrary /test/lib ../share /
|
||||
* @build compiler.compilercontrol.directives.PrintTest
|
||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||
* compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.*
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver compiler.compilercontrol.directives.PrintTest
|
||||
*/
|
||||
|
||||
|
@ -26,12 +26,12 @@
|
||||
* @bug 8137167
|
||||
* @summary Tests directives to be able to add and remove directives
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||
* @library /testlibrary /test/lib ../share /
|
||||
* @build compiler.compilercontrol.jcmd.AddAndRemoveTest
|
||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||
* compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.*
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver compiler.compilercontrol.jcmd.AddAndRemoveTest
|
||||
*/
|
||||
|
||||
|
@ -26,12 +26,12 @@
|
||||
* @bug 8137167
|
||||
* @summary Tests jcmd to be able to add a directive to compile only specified methods
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||
* @library /testlibrary /test/lib ../share /
|
||||
* @build compiler.compilercontrol.jcmd.AddCompileOnlyTest
|
||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||
* compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.*
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver compiler.compilercontrol.jcmd.AddCompileOnlyTest
|
||||
*/
|
||||
|
||||
|
@ -26,12 +26,12 @@
|
||||
* @bug 8137167
|
||||
* @summary Tests jcmd to be able to add a directive to exclude only specified methods
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||
* @library /testlibrary /test/lib ../share /
|
||||
* @build compiler.compilercontrol.jcmd.AddExcludeTest
|
||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||
* compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.*
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver compiler.compilercontrol.jcmd.AddExcludeTest
|
||||
*/
|
||||
|
||||
|
@ -26,12 +26,12 @@
|
||||
* @bug 8137167
|
||||
* @summary Tests jcmd to be able to add a directive to log only specified methods
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||
* @library /testlibrary /test/lib ../share /
|
||||
* @build compiler.compilercontrol.jcmd.AddLogTest
|
||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||
* compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.*
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver compiler.compilercontrol.jcmd.AddLogTest
|
||||
*/
|
||||
|
||||
|
@ -27,12 +27,12 @@
|
||||
* @summary Tests jcmd to be able to add a directive to print assembly
|
||||
* only for specified methods
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||
* @library /testlibrary /test/lib ../share /
|
||||
* @build compiler.compilercontrol.jcmd.AddPrintAssemblyTest
|
||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||
* compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.*
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver compiler.compilercontrol.jcmd.AddPrintAssemblyTest
|
||||
*/
|
||||
|
||||
|
@ -27,12 +27,12 @@
|
||||
* @ignore 8140405
|
||||
* @summary Tests jcmd to be able to clear directives added via options
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||
* @library /testlibrary /test/lib ../share /
|
||||
* @build compiler.compilercontrol.jcmd.ClearDirectivesFileStackTest
|
||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||
* compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.*
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver compiler.compilercontrol.jcmd.ClearDirectivesFileStackTest
|
||||
*/
|
||||
|
||||
|
@ -26,12 +26,12 @@
|
||||
* @bug 8137167
|
||||
* @summary Tests clear JCMD command
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||
* @library /testlibrary /test/lib ../share /
|
||||
* @build compiler.compilercontrol.jcmd.ClearDirectivesStackTest
|
||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||
* compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.*
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver compiler.compilercontrol.jcmd.ClearDirectivesStackTest
|
||||
*/
|
||||
|
||||
|
@ -26,13 +26,13 @@
|
||||
* @bug 8137167
|
||||
* @summary Tests jcmd to be able to add a directive to compile only specified methods
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||
* @library /testlibrary /test/lib ../share /
|
||||
* @requires vm.flavor != "minimal"
|
||||
* @build compiler.compilercontrol.jcmd.PrintDirectivesTest
|
||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||
* compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.*
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver compiler.compilercontrol.jcmd.PrintDirectivesTest
|
||||
*/
|
||||
|
||||
|
@ -27,13 +27,13 @@
|
||||
* @summary Tests jcmd to be able to add a lot of huge directive files with
|
||||
* parallel executed jcmds until timeout has reached
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||
* @library /testlibrary /test/lib ../share /
|
||||
* @build compiler.compilercontrol.jcmd.StressAddMultiThreadedTest
|
||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||
* compiler.testlibrary.CompilerUtils
|
||||
* compiler.compilercontrol.share.actions.*
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver compiler.compilercontrol.jcmd.StressAddMultiThreadedTest
|
||||
*/
|
||||
|
||||
|
@ -26,12 +26,12 @@
|
||||
* @bug 8137167
|
||||
* @summary Tests LogCompilation executed standalone without log commands or directives
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||
* @library /testlibrary /test/lib ../share /
|
||||
* @build compiler.compilercontrol.logcompilation.LogTest
|
||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||
* compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.*
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver compiler.compilercontrol.logcompilation.LogTest
|
||||
*/
|
||||
|
||||
|
@ -21,6 +21,19 @@
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @bug 8135068
|
||||
* @summary Tests CompilerCommand's method matcher
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary /test/lib ../share /
|
||||
* @build compiler.compilercontrol.matcher.MethodMatcherTest
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI compiler.compilercontrol.matcher.MethodMatcherTest
|
||||
*/
|
||||
|
||||
package compiler.compilercontrol.matcher;
|
||||
|
||||
import jdk.test.lib.Pair;
|
||||
@ -36,18 +49,6 @@ import java.util.concurrent.Callable;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @bug 8135068
|
||||
* @summary Tests CompilerCommand's method matcher
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary /test/lib /compiler/whitebox ../share /
|
||||
* @build compiler.compilercontrol.matcher.MethodMatcherTest
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI compiler.compilercontrol.matcher.MethodMatcherTest
|
||||
*/
|
||||
public class MethodMatcherTest {
|
||||
private static final WhiteBox WB = WhiteBox.getWhiteBox();
|
||||
private static final PoolHelper POOL = new PoolHelper();
|
||||
|
@ -26,12 +26,12 @@
|
||||
* @bug 8137167
|
||||
* @summary Randomly generates commands with random types
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||
* @library /testlibrary /test/lib ../share /
|
||||
* @build compiler.compilercontrol.mixed.RandomCommandsTest
|
||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||
* compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.*
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver/timeout=600 compiler.compilercontrol.mixed.RandomCommandsTest
|
||||
*/
|
||||
|
||||
|
@ -26,12 +26,12 @@
|
||||
* @bug 8137167
|
||||
* @summary Randomly generates valid commands with random types
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary ../share /
|
||||
* @library /testlibrary /test/lib ../share /
|
||||
* @build compiler.compilercontrol.mixed.RandomValidCommandsTest
|
||||
* pool.sub.* pool.subpack.* sun.hotspot.WhiteBox
|
||||
* compiler.testlibrary.CompilerUtils compiler.compilercontrol.share.actions.*
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver/timeout=600 compiler.compilercontrol.mixed.RandomValidCommandsTest
|
||||
*/
|
||||
|
||||
|
@ -21,24 +21,25 @@
|
||||
* questions.
|
||||
*
|
||||
*/
|
||||
import jdk.test.lib.OutputAnalyzer;
|
||||
import jdk.test.lib.Platform;
|
||||
import jdk.test.lib.ProcessTools;
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @library /testlibrary /test/lib /compiler/whitebox
|
||||
* /compiler/testlibrary /compiler/codegen/7184394
|
||||
* @library /testlibrary /test/lib /compiler/codegen/7184394 /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @ignore 8146128
|
||||
* @build TestAESIntrinsicsOnSupportedConfig TestAESMain
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI -Xbatch
|
||||
* TestAESIntrinsicsOnSupportedConfig
|
||||
*/
|
||||
|
||||
import jdk.test.lib.OutputAnalyzer;
|
||||
import jdk.test.lib.Platform;
|
||||
import jdk.test.lib.ProcessTools;
|
||||
|
||||
public class TestAESIntrinsicsOnSupportedConfig extends AESIntrinsicsBase {
|
||||
|
||||
/**
|
||||
|
@ -22,22 +22,22 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @library /testlibrary /test/lib /compiler/codegen/7184394 /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestAESIntrinsicsOnUnsupportedConfig TestAESMain
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI -Xbatch TestAESIntrinsicsOnUnsupportedConfig
|
||||
*/
|
||||
|
||||
import jdk.test.lib.cli.predicate.NotPredicate;
|
||||
import jdk.test.lib.OutputAnalyzer;
|
||||
import jdk.test.lib.ProcessTools;
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @library /testlibrary /test/lib /compiler/whitebox
|
||||
* /compiler/testlibrary /compiler/codegen/7184394
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestAESIntrinsicsOnUnsupportedConfig TestAESMain
|
||||
* @run main ClassFileInstaller
|
||||
* sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI -Xbatch TestAESIntrinsicsOnUnsupportedConfig
|
||||
*/
|
||||
public class TestAESIntrinsicsOnUnsupportedConfig extends AESIntrinsicsBase {
|
||||
|
||||
private static final String INTRINSICS_NOT_AVAILABLE_MSG = "warning: AES "
|
||||
|
@ -25,11 +25,12 @@
|
||||
* @test
|
||||
* @bug 8063086
|
||||
* @summary X^2 special case for C2 yields different result than interpreter
|
||||
* @library /testlibrary /test/lib /compiler/whitebox /
|
||||
* @library /testlibrary /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @modules java.management
|
||||
* @build TestPow2
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
|
||||
* -XX:-BackgroundCompilation -XX:-UseOnStackReplacement TestPow2
|
||||
*
|
||||
|
@ -20,20 +20,15 @@
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
import java.lang.reflect.Executable;
|
||||
import java.util.concurrent.Callable;
|
||||
import java.util.Objects;
|
||||
|
||||
import jdk.test.lib.*;
|
||||
import compiler.whitebox.CompilerWhiteBoxTest;
|
||||
/*
|
||||
* @test
|
||||
* @bug 8130832
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary /test/lib /compiler/whitebox /compiler/testlibrary /
|
||||
* @library /testlibrary /test/lib /
|
||||
* @build IntrinsicAvailableTest
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:.
|
||||
* -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI
|
||||
@ -45,6 +40,14 @@ import compiler.whitebox.CompilerWhiteBoxTest;
|
||||
* -XX:-UseCRC32Intrinsics
|
||||
* IntrinsicAvailableTest
|
||||
*/
|
||||
|
||||
import java.lang.reflect.Executable;
|
||||
import java.util.concurrent.Callable;
|
||||
import java.util.Objects;
|
||||
|
||||
import jdk.test.lib.*;
|
||||
import compiler.whitebox.CompilerWhiteBoxTest;
|
||||
|
||||
public class IntrinsicAvailableTest extends CompilerWhiteBoxTest {
|
||||
protected String VMName;
|
||||
|
||||
|
@ -24,12 +24,12 @@
|
||||
/*
|
||||
* @test
|
||||
* @bug 8031321
|
||||
* @library /testlibrary /test/lib /compiler/whitebox / ..
|
||||
* @library /testlibrary /test/lib / ..
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build AndnTestI
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/bootclasspath/othervm -Xbatch -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+UseBMI1Instructions AndnTestI
|
||||
*/
|
||||
|
@ -24,12 +24,12 @@
|
||||
/*
|
||||
* @test
|
||||
* @bug 8031321
|
||||
* @library /testlibrary /test/lib /compiler/whitebox / ..
|
||||
* @library /testlibrary /test/lib / ..
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build AndnTestL
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/bootclasspath/othervm -Xbatch -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+UseBMI1Instructions AndnTestL
|
||||
*/
|
||||
|
@ -24,12 +24,12 @@
|
||||
/*
|
||||
* @test
|
||||
* @bug 8031321
|
||||
* @library /testlibrary /test/lib /compiler/whitebox / ..
|
||||
* @library /testlibrary /test/lib / ..
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build BlsiTestI
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -Xbatch -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+UseBMI1Instructions BlsiTestI
|
||||
*/
|
||||
|
@ -24,12 +24,12 @@
|
||||
/*
|
||||
* @test
|
||||
* @bug 8031321
|
||||
* @library /testlibrary /test/lib /compiler/whitebox / ..
|
||||
* @library /testlibrary /test/lib / ..
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build BlsiTestL
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -Xbatch -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+UseBMI1Instructions BlsiTestL
|
||||
*/
|
||||
|
@ -24,12 +24,12 @@
|
||||
/*
|
||||
* @test
|
||||
* @bug 8031321
|
||||
* @library /testlibrary /test/lib /compiler/whitebox / ..
|
||||
* @library /testlibrary /test/lib / ..
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build BlsmskTestI
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -Xbatch -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+UseBMI1Instructions BlsmskTestI
|
||||
*/
|
||||
|
@ -24,12 +24,12 @@
|
||||
/*
|
||||
* @test
|
||||
* @bug 8031321
|
||||
* @library /testlibrary /test/lib /compiler/whitebox / ..
|
||||
* @library /testlibrary /test/lib / ..
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build BlsmskTestL
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -Xbatch -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+UseBMI1Instructions BlsmskTestL
|
||||
*/
|
||||
|
@ -24,12 +24,12 @@
|
||||
/*
|
||||
* @test
|
||||
* @bug 8031321
|
||||
* @library /testlibrary /test/lib /compiler/whitebox / ..
|
||||
* @library /testlibrary /test/lib / ..
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build BlsrTestI
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -Xbatch -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+UseBMI1Instructions BlsrTestI
|
||||
*/
|
||||
|
@ -24,12 +24,12 @@
|
||||
/*
|
||||
* @test
|
||||
* @bug 8031321
|
||||
* @library /testlibrary /test/lib /compiler/whitebox / ..
|
||||
* @library /testlibrary /test/lib / ..
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build BlsrTestL
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -Xbatch -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+UseBMI1Instructions BlsrTestL
|
||||
*/
|
||||
|
@ -24,12 +24,12 @@
|
||||
/*
|
||||
* @test
|
||||
* @bug 8031321
|
||||
* @library /testlibrary /test/lib /compiler/whitebox / ..
|
||||
* @library /testlibrary /test/lib / ..
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build LZcntTestI
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -Xbatch -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+UseCountLeadingZerosInstruction LZcntTestI
|
||||
*/
|
||||
|
@ -24,12 +24,12 @@
|
||||
/*
|
||||
* @test
|
||||
* @bug 8031321
|
||||
* @library /testlibrary /test/lib /compiler/whitebox / ..
|
||||
* @library /testlibrary /test/lib / ..
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build LZcntTestL
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -Xbatch -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+UseCountLeadingZerosInstruction LZcntTestL
|
||||
*/
|
||||
|
@ -24,12 +24,12 @@
|
||||
/*
|
||||
* @test
|
||||
* @bug 8031321
|
||||
* @library /testlibrary /test/lib /compiler/whitebox / ..
|
||||
* @library /testlibrary /test/lib / ..
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TZcntTestI
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -Xbatch -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+UseCountTrailingZerosInstruction TZcntTestI
|
||||
*/
|
||||
|
@ -24,12 +24,12 @@
|
||||
/*
|
||||
* @test
|
||||
* @bug 8031321
|
||||
* @library /testlibrary /test/lib /compiler/whitebox / ..
|
||||
* @library /testlibrary /test/lib / ..
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TZcntTestL
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -Xbatch -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+UseCountTrailingZerosInstruction TZcntTestL
|
||||
*/
|
||||
|
@ -23,12 +23,12 @@
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @library /testlibrary /test/lib /compiler/whitebox / /compiler/testlibrary
|
||||
* @library /testlibrary /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build AddExactIntTest
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation
|
||||
* -XX:CompileCommand=compileonly,MathIntrinsic*::execMathMethod
|
||||
@ -37,7 +37,7 @@
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation
|
||||
* -XX:CompileCommand=compileonly,MathIntrinsic*::execMathMethod
|
||||
* -XX:LogFile=hs.log -XX:+UseMathExactIntrinsics AddExactIntTest
|
||||
* @run main intrinsics.Verifier hs_neg.log hs.log
|
||||
* @run driver compiler.testlibrary.intrinsics.Verifier hs_neg.log hs.log
|
||||
*/
|
||||
|
||||
public class AddExactIntTest {
|
||||
|
@ -23,12 +23,12 @@
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @library /testlibrary /test/lib /compiler/whitebox / /compiler/testlibrary
|
||||
* @library /testlibrary /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build AddExactLongTest
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation
|
||||
* -XX:CompileCommand=compileonly,MathIntrinsic*::execMathMethod
|
||||
@ -37,7 +37,7 @@
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation
|
||||
* -XX:CompileCommand=compileonly,MathIntrinsic*::execMathMethod
|
||||
* -XX:LogFile=hs.log -XX:+UseMathExactIntrinsics AddExactLongTest
|
||||
* @run main intrinsics.Verifier hs_neg.log hs.log
|
||||
* @run driver compiler.testlibrary.intrinsics.Verifier hs_neg.log hs.log
|
||||
*/
|
||||
|
||||
public class AddExactLongTest {
|
||||
|
@ -23,12 +23,12 @@
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @library /testlibrary /test/lib /compiler/whitebox / /compiler/testlibrary
|
||||
* @library /testlibrary /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build DecrementExactIntTest
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation
|
||||
* -XX:CompileCommand=compileonly,MathIntrinsic*::execMathMethod
|
||||
@ -37,7 +37,7 @@
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation
|
||||
* -XX:CompileCommand=compileonly,MathIntrinsic*::execMathMethod
|
||||
* -XX:LogFile=hs.log -XX:+UseMathExactIntrinsics DecrementExactIntTest
|
||||
* @run main intrinsics.Verifier hs_neg.log hs.log
|
||||
* @run driver compiler.testlibrary.intrinsics.Verifier hs_neg.log hs.log
|
||||
*/
|
||||
|
||||
public class DecrementExactIntTest {
|
||||
|
@ -23,12 +23,12 @@
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @library /testlibrary /test/lib /compiler/whitebox / /compiler/testlibrary
|
||||
* @library /testlibrary /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build DecrementExactLongTest
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation
|
||||
* -XX:CompileCommand=compileonly,MathIntrinsic*::execMathMethod
|
||||
@ -37,7 +37,7 @@
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation
|
||||
* -XX:CompileCommand=compileonly,MathIntrinsic*::execMathMethod
|
||||
* -XX:LogFile=hs.log -XX:+UseMathExactIntrinsics DecrementExactLongTest
|
||||
* @run main intrinsics.Verifier hs_neg.log hs.log
|
||||
* @run driver compiler.testlibrary.intrinsics.Verifier hs_neg.log hs.log
|
||||
*/
|
||||
|
||||
public class DecrementExactLongTest {
|
||||
|
@ -23,12 +23,12 @@
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @library /testlibrary /test/lib /compiler/whitebox / /compiler/testlibrary
|
||||
* @library /testlibrary /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build IncrementExactIntTest
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation
|
||||
* -XX:CompileCommand=compileonly,MathIntrinsic*::execMathMethod
|
||||
@ -37,7 +37,7 @@
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation
|
||||
* -XX:CompileCommand=compileonly,MathIntrinsic*::execMathMethod
|
||||
* -XX:LogFile=hs.log -XX:+UseMathExactIntrinsics IncrementExactIntTest
|
||||
* @run main intrinsics.Verifier hs_neg.log hs.log
|
||||
* @run driver compiler.testlibrary.intrinsics.Verifier hs_neg.log hs.log
|
||||
*/
|
||||
|
||||
public class IncrementExactIntTest {
|
||||
|
@ -23,12 +23,12 @@
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @library /testlibrary /test/lib /compiler/whitebox / /compiler/testlibrary
|
||||
* @library /testlibrary /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build IncrementExactLongTest
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation
|
||||
* -XX:CompileCommand=compileonly,MathIntrinsic*::execMathMethod
|
||||
@ -37,7 +37,7 @@
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation
|
||||
* -XX:CompileCommand=compileonly,MathIntrinsic*::execMathMethod
|
||||
* -XX:LogFile=hs.log -XX:+UseMathExactIntrinsics IncrementExactLongTest
|
||||
* @run main intrinsics.Verifier hs_neg.log hs.log
|
||||
* @run driver compiler.testlibrary.intrinsics.Verifier hs_neg.log hs.log
|
||||
*/
|
||||
|
||||
public class IncrementExactLongTest {
|
||||
|
@ -22,12 +22,13 @@
|
||||
*/
|
||||
|
||||
import jdk.test.lib.Platform;
|
||||
import intrinsics.Verifier;
|
||||
|
||||
import java.io.FileOutputStream;
|
||||
import java.lang.reflect.Executable;
|
||||
import java.util.Properties;
|
||||
|
||||
import compiler.whitebox.CompilerWhiteBoxTest;
|
||||
import compiler.testlibrary.intrinsics.Verifier;
|
||||
|
||||
public abstract class IntrinsicBase extends CompilerWhiteBoxTest {
|
||||
protected String javaVmName;
|
||||
|
@ -23,12 +23,12 @@
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @library /testlibrary /test/lib /compiler/whitebox / /compiler/testlibrary
|
||||
* @library /testlibrary /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build MultiplyExactIntTest
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation
|
||||
* -XX:CompileCommand=compileonly,MathIntrinsic*::execMathMethod
|
||||
@ -37,7 +37,7 @@
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation
|
||||
* -XX:CompileCommand=compileonly,MathIntrinsic*::execMathMethod
|
||||
* -XX:LogFile=hs.log -XX:+UseMathExactIntrinsics MultiplyExactIntTest
|
||||
* @run main intrinsics.Verifier hs_neg.log hs.log
|
||||
* @run driver compiler.testlibrary.intrinsics.Verifier hs_neg.log hs.log
|
||||
*/
|
||||
|
||||
public class MultiplyExactIntTest {
|
||||
|
@ -23,12 +23,12 @@
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @library /testlibrary /test/lib /compiler/whitebox / /compiler/testlibrary
|
||||
* @library /testlibrary /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build MultiplyExactLongTest
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation
|
||||
* -XX:CompileCommand=compileonly,MathIntrinsic*::execMathMethod
|
||||
@ -37,7 +37,7 @@
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation
|
||||
* -XX:CompileCommand=compileonly,MathIntrinsic*::execMathMethod
|
||||
* -XX:LogFile=hs.log -XX:+UseMathExactIntrinsics MultiplyExactLongTest
|
||||
* @run main intrinsics.Verifier hs_neg.log hs.log
|
||||
* @run driver compiler.testlibrary.intrinsics.Verifier hs_neg.log hs.log
|
||||
*/
|
||||
|
||||
public class MultiplyExactLongTest {
|
||||
|
@ -23,12 +23,12 @@
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @library /testlibrary /test/lib /compiler/whitebox / /compiler/testlibrary
|
||||
* @library /testlibrary /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build NegateExactIntTest
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation
|
||||
* -XX:CompileCommand=compileonly,MathIntrinsic*::execMathMethod
|
||||
@ -37,7 +37,7 @@
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation
|
||||
* -XX:CompileCommand=compileonly,MathIntrinsic*::execMathMethod
|
||||
* -XX:LogFile=hs.log -XX:+UseMathExactIntrinsics NegateExactIntTest
|
||||
* @run main intrinsics.Verifier hs_neg.log hs.log
|
||||
* @run driver compiler.testlibrary.intrinsics.Verifier hs_neg.log hs.log
|
||||
*/
|
||||
|
||||
public class NegateExactIntTest {
|
||||
|
@ -23,12 +23,12 @@
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @library /testlibrary /test/lib /compiler/whitebox / /compiler/testlibrary
|
||||
* @library /testlibrary /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build NegateExactLongTest
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation
|
||||
* -XX:CompileCommand=compileonly,MathIntrinsic*::execMathMethod
|
||||
@ -37,7 +37,7 @@
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation
|
||||
* -XX:CompileCommand=compileonly,MathIntrinsic*::execMathMethod
|
||||
* -XX:LogFile=hs.log -XX:+UseMathExactIntrinsics NegateExactLongTest
|
||||
* @run main intrinsics.Verifier hs_neg.log hs.log
|
||||
* @run driver compiler.testlibrary.intrinsics.Verifier hs_neg.log hs.log
|
||||
*/
|
||||
|
||||
public class NegateExactLongTest {
|
||||
|
@ -23,12 +23,12 @@
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @library /testlibrary /test/lib /compiler/whitebox / /compiler/testlibrary
|
||||
* @library /testlibrary /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build SubtractExactIntTest
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation
|
||||
* -XX:CompileCommand=compileonly,MathIntrinsic*::execMathMethod
|
||||
@ -37,8 +37,7 @@
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation
|
||||
* -XX:CompileCommand=compileonly,MathIntrinsic*::execMathMethod
|
||||
* -XX:LogFile=hs.log -XX:+UseMathExactIntrinsics SubtractExactIntTest
|
||||
* @run main intrinsics.Verifier hs_neg.log hs.log
|
||||
|
||||
* @run driver compiler.testlibrary.intrinsics.Verifier hs_neg.log hs.log
|
||||
*/
|
||||
|
||||
public class SubtractExactIntTest {
|
||||
|
@ -23,12 +23,12 @@
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @library /testlibrary /test/lib /compiler/whitebox / /compiler/testlibrary
|
||||
* @library /testlibrary /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build SubtractExactLongTest
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation
|
||||
* -XX:CompileCommand=compileonly,MathIntrinsic*::execMathMethod
|
||||
@ -37,7 +37,7 @@
|
||||
* -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -XX:+LogCompilation
|
||||
* -XX:CompileCommand=compileonly,MathIntrinsic*::execMathMethod
|
||||
* -XX:LogFile=hs.log -XX:+UseMathExactIntrinsics SubtractExactLongTest
|
||||
* @run main intrinsics.Verifier hs_neg.log hs.log
|
||||
* @run driver compiler.testlibrary.intrinsics.Verifier hs_neg.log hs.log
|
||||
*/
|
||||
|
||||
public class SubtractExactLongTest {
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
import jdk.test.lib.Platform;
|
||||
import jdk.test.lib.cli.CommandLineOptionTest;
|
||||
import sha.predicate.IntrinsicPredicates;
|
||||
import compiler.testlibrary.sha.predicate.IntrinsicPredicates;
|
||||
|
||||
import java.util.function.BooleanSupplier;
|
||||
|
||||
|
@ -24,13 +24,13 @@
|
||||
/**
|
||||
* @test
|
||||
* @bug 8035968
|
||||
* @summary Verify UseSHA1Intrinsics option processing on supported CPU,
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary testcases
|
||||
* @summary Verify UseSHA1Intrinsics option processing on supported CPU.
|
||||
* @library /testlibrary /test/lib testcases /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestUseSHA1IntrinsicsOptionOnSupportedCPU
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI TestUseSHA1IntrinsicsOptionOnSupportedCPU
|
||||
*/
|
||||
|
@ -24,13 +24,13 @@
|
||||
/**
|
||||
* @test
|
||||
* @bug 8035968
|
||||
* @summary Verify UseSHA1Intrinsics option processing on unsupported CPU,
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary testcases
|
||||
* @summary Verify UseSHA1Intrinsics option processing on unsupported CPU.
|
||||
* @library /testlibrary /test/lib testcases /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestUseSHA1IntrinsicsOptionOnUnsupportedCPU
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI
|
||||
* TestUseSHA1IntrinsicsOptionOnUnsupportedCPU
|
||||
|
@ -24,13 +24,13 @@
|
||||
/**
|
||||
* @test
|
||||
* @bug 8035968
|
||||
* @summary Verify UseSHA256Intrinsics option processing on supported CPU,
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary testcases
|
||||
* @summary Verify UseSHA256Intrinsics option processing on supported CPU.
|
||||
* @library /testlibrary /test/lib testcases /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestUseSHA256IntrinsicsOptionOnSupportedCPU
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI
|
||||
* TestUseSHA256IntrinsicsOptionOnSupportedCPU
|
||||
|
@ -24,13 +24,13 @@
|
||||
/**
|
||||
* @test
|
||||
* @bug 8035968
|
||||
* @summary Verify UseSHA256Intrinsics option processing on unsupported CPU,
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary testcases
|
||||
* @summary Verify UseSHA256Intrinsics option processing on unsupported CPU.
|
||||
* @library /testlibrary /test/lib testcases /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestUseSHA256IntrinsicsOptionOnUnsupportedCPU
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI
|
||||
* TestUseSHA256IntrinsicsOptionOnUnsupportedCPU
|
||||
|
@ -25,12 +25,12 @@
|
||||
* @test
|
||||
* @bug 8035968
|
||||
* @summary Verify UseSHA512Intrinsics option processing on supported CPU.
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary testcases
|
||||
* @library /testlibrary /test/lib testcases /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestUseSHA512IntrinsicsOptionOnSupportedCPU
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI
|
||||
* TestUseSHA512IntrinsicsOptionOnSupportedCPU
|
||||
|
@ -24,13 +24,13 @@
|
||||
/**
|
||||
* @test
|
||||
* @bug 8035968
|
||||
* @summary Verify UseSHA512Intrinsics option processing on unsupported CPU,
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary testcases
|
||||
* @summary Verify UseSHA512Intrinsics option processing on unsupported CPU.
|
||||
* @library /testlibrary /test/lib testcases /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestUseSHA512IntrinsicsOptionOnUnsupportedCPU
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI
|
||||
* TestUseSHA512IntrinsicsOptionOnUnsupportedCPU
|
||||
|
@ -24,13 +24,13 @@
|
||||
/**
|
||||
* @test
|
||||
* @bug 8035968
|
||||
* @summary Verify UseSHA option processing on supported CPU,
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary testcases
|
||||
* @summary Verify UseSHA option processing on supported CPU.
|
||||
* @library /testlibrary /test/lib testcases /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestUseSHAOptionOnSupportedCPU
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI TestUseSHAOptionOnSupportedCPU
|
||||
*/
|
||||
|
@ -25,12 +25,12 @@
|
||||
* @test
|
||||
* @bug 8035968
|
||||
* @summary Verify UseSHA option processing on unsupported CPU.
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary testcases
|
||||
* @library /testlibrary /test/lib testcases /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestUseSHAOptionOnUnsupportedCPU
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI TestUseSHAOptionOnUnsupportedCPU
|
||||
*/
|
||||
|
@ -27,7 +27,7 @@ import jdk.test.lib.cli.CommandLineOptionTest;
|
||||
import jdk.test.lib.cli.predicate.AndPredicate;
|
||||
import jdk.test.lib.cli.predicate.OrPredicate;
|
||||
import jdk.test.lib.cli.predicate.NotPredicate;
|
||||
import sha.predicate.IntrinsicPredicates;
|
||||
import compiler.testlibrary.sha.predicate.IntrinsicPredicates;
|
||||
|
||||
/**
|
||||
* Test case specific to UseSHA*Intrinsics options targeted to SPARC and AArch64
|
||||
|
@ -27,7 +27,7 @@ import jdk.test.lib.Platform;
|
||||
import jdk.test.lib.cli.CommandLineOptionTest;
|
||||
import jdk.test.lib.cli.predicate.AndPredicate;
|
||||
import jdk.test.lib.cli.predicate.OrPredicate;
|
||||
import sha.predicate.IntrinsicPredicates;
|
||||
import compiler.testlibrary.sha.predicate.IntrinsicPredicates;
|
||||
|
||||
/**
|
||||
* UseSHA specific test case targeted to SPARC and AArch64 CPUs which
|
||||
|
@ -28,7 +28,7 @@ import jdk.test.lib.cli.CommandLineOptionTest;
|
||||
import jdk.test.lib.cli.predicate.AndPredicate;
|
||||
import jdk.test.lib.cli.predicate.OrPredicate;
|
||||
import jdk.test.lib.cli.predicate.NotPredicate;
|
||||
import sha.predicate.IntrinsicPredicates;
|
||||
import compiler.testlibrary.sha.predicate.IntrinsicPredicates;
|
||||
|
||||
/**
|
||||
* UseSHA specific test case targeted to SPARC and AArch64 CPUs which don't
|
||||
|
@ -21,7 +21,6 @@
|
||||
* questions.
|
||||
*/
|
||||
|
||||
import intrinsics.Verifier;
|
||||
import sun.hotspot.WhiteBox;
|
||||
|
||||
import java.io.FileOutputStream;
|
||||
@ -30,6 +29,8 @@ import java.util.Objects;
|
||||
import java.util.Properties;
|
||||
import java.util.function.BooleanSupplier;
|
||||
|
||||
import compiler.testlibrary.intrinsics.Verifier;
|
||||
|
||||
/**
|
||||
* Base class for sanity tests on SHA intrinsics support.
|
||||
*/
|
||||
|
@ -25,12 +25,12 @@
|
||||
* @test
|
||||
* @bug 8035968
|
||||
* @summary Verify that SHA-1 intrinsic is actually used.
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary ../
|
||||
* @library /testlibrary /test/lib / ../
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestSHA intrinsics.Verifier TestSHA1Intrinsics
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @build TestSHA compiler.testlibrary.intrinsics.Verifier TestSHA1Intrinsics
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500
|
||||
* -XX:Tier4InvocationThreshold=500
|
||||
@ -48,9 +48,10 @@
|
||||
* -XX:-UseSHA1Intrinsics
|
||||
* -Dalgorithm=SHA-1 TestSHA1Intrinsics
|
||||
* @run main/othervm -DverificationStrategy=VERIFY_INTRINSIC_USAGE
|
||||
* intrinsics.Verifier positive.log negative.log
|
||||
* compiler.testlibrary.intrinsics.Verifier positive.log negative.log
|
||||
*/
|
||||
import sha.predicate.IntrinsicPredicates;
|
||||
|
||||
import compiler.testlibrary.sha.predicate.IntrinsicPredicates;
|
||||
|
||||
public class TestSHA1Intrinsics {
|
||||
public static void main(String args[]) throws Exception {
|
||||
|
@ -21,18 +21,16 @@
|
||||
* questions.
|
||||
*/
|
||||
|
||||
import sha.predicate.IntrinsicPredicates;
|
||||
|
||||
/**
|
||||
* @test
|
||||
* @bug 8035968
|
||||
* @summary Verify that SHA-1 multi block intrinsic is actually used.
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary ../
|
||||
* @library /testlibrary /test/lib / ../
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestSHA intrinsics.Verifier TestSHA1MultiBlockIntrinsics
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @build TestSHA compiler.testlibrary.intrinsics.Verifier TestSHA1MultiBlockIntrinsics
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500
|
||||
* -XX:Tier4InvocationThreshold=500
|
||||
@ -58,9 +56,12 @@ import sha.predicate.IntrinsicPredicates;
|
||||
* -XX:CompileOnly=sun/security/provider/SHA -XX:-UseSHA
|
||||
* -Dalgorithm=SHA-1 TestSHA1MultiBlockIntrinsics
|
||||
* @run main/othervm -DverificationStrategy=VERIFY_INTRINSIC_USAGE
|
||||
* intrinsics.Verifier positive.log positive_def.log
|
||||
* compiler.testlibrary.intrinsics.Verifier positive.log positive_def.log
|
||||
* negative.log
|
||||
*/
|
||||
|
||||
import compiler.testlibrary.sha.predicate.IntrinsicPredicates;
|
||||
|
||||
public class TestSHA1MultiBlockIntrinsics {
|
||||
public static void main(String args[]) throws Exception {
|
||||
new SHASanityTestBase(IntrinsicPredicates.SHA1_INTRINSICS_AVAILABLE,
|
||||
|
@ -21,18 +21,16 @@
|
||||
* questions.
|
||||
*/
|
||||
|
||||
import sha.predicate.IntrinsicPredicates;
|
||||
|
||||
/**
|
||||
* @test
|
||||
* @bug 8035968
|
||||
* @summary Verify that SHA-256 intrinsic is actually used.
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary ../
|
||||
* @library /testlibrary /test/lib / ../
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestSHA intrinsics.Verifier TestSHA256Intrinsics
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @build TestSHA compiler.testlibrary.intrinsics.Verifier TestSHA256Intrinsics
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500
|
||||
* -XX:Tier4InvocationThreshold=500
|
||||
@ -66,9 +64,12 @@ import sha.predicate.IntrinsicPredicates;
|
||||
* -XX:-UseSHA256Intrinsics
|
||||
* -Dalgorithm=SHA-256 TestSHA256Intrinsics
|
||||
* @run main/othervm -DverificationStrategy=VERIFY_INTRINSIC_USAGE
|
||||
* intrinsics.Verifier positive_224.log positive_256.log
|
||||
* compiler.testlibrary.intrinsics.Verifier positive_224.log positive_256.log
|
||||
* negative_224.log negative_256.log
|
||||
*/
|
||||
|
||||
import compiler.testlibrary.sha.predicate.IntrinsicPredicates;
|
||||
|
||||
public class TestSHA256Intrinsics {
|
||||
public static void main(String args[]) throws Exception {
|
||||
new SHASanityTestBase(IntrinsicPredicates.SHA256_INTRINSICS_AVAILABLE,
|
||||
|
@ -21,18 +21,16 @@
|
||||
* questions.
|
||||
*/
|
||||
|
||||
import sha.predicate.IntrinsicPredicates;
|
||||
|
||||
/**
|
||||
* @test
|
||||
* @bug 8035968
|
||||
* @summary Verify that SHA-256 multi block intrinsic is actually used.
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary ../
|
||||
* @library /testlibrary /test/lib / ../
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestSHA intrinsics.Verifier TestSHA256MultiBlockIntrinsics
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @build TestSHA compiler.testlibrary.intrinsics.Verifier TestSHA256MultiBlockIntrinsics
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500
|
||||
* -XX:Tier4InvocationThreshold=500
|
||||
@ -82,10 +80,13 @@ import sha.predicate.IntrinsicPredicates;
|
||||
* -XX:CompileOnly=sun/security/provider/SHA -XX:-UseSHA
|
||||
* -Dalgorithm=SHA-256 TestSHA256MultiBlockIntrinsics
|
||||
* @run main/othervm -DverificationStrategy=VERIFY_INTRINSIC_USAGE
|
||||
* intrinsics.Verifier positive_224.log positive_256.log
|
||||
* compiler.testlibrary.intrinsics.Verifier positive_224.log positive_256.log
|
||||
* positive_224_def.log positive_256_def.log negative_224.log
|
||||
* negative_256.log
|
||||
*/
|
||||
|
||||
import compiler.testlibrary.sha.predicate.IntrinsicPredicates;
|
||||
|
||||
public class TestSHA256MultiBlockIntrinsics {
|
||||
public static void main(String args[]) throws Exception {
|
||||
new SHASanityTestBase(IntrinsicPredicates.SHA256_INTRINSICS_AVAILABLE,
|
||||
|
@ -21,18 +21,16 @@
|
||||
* questions.
|
||||
*/
|
||||
|
||||
import sha.predicate.IntrinsicPredicates;
|
||||
|
||||
/**
|
||||
* @test
|
||||
* @bug 8035968
|
||||
* @summary Verify that SHA-512 intrinsic is actually used.
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary ../
|
||||
* @library /testlibrary /test/lib / ../
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestSHA intrinsics.Verifier TestSHA512Intrinsics
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @build TestSHA compiler.testlibrary.intrinsics.Verifier TestSHA512Intrinsics
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500
|
||||
* -XX:Tier4InvocationThreshold=500
|
||||
@ -66,9 +64,12 @@ import sha.predicate.IntrinsicPredicates;
|
||||
* -XX:-UseSHA512Intrinsics
|
||||
* -Dalgorithm=SHA-512 TestSHA512Intrinsics
|
||||
* @run main/othervm -DverificationStrategy=VERIFY_INTRINSIC_USAGE
|
||||
* intrinsics.Verifier positive_384.log positive_512.log
|
||||
* compiler.testlibrary.intrinsics.Verifier positive_384.log positive_512.log
|
||||
* negative_384.log negative_512.log
|
||||
*/
|
||||
|
||||
import compiler.testlibrary.sha.predicate.IntrinsicPredicates;
|
||||
|
||||
public class TestSHA512Intrinsics {
|
||||
public static void main(String args[]) throws Exception {
|
||||
new SHASanityTestBase(IntrinsicPredicates.SHA512_INTRINSICS_AVAILABLE,
|
||||
|
@ -21,18 +21,16 @@
|
||||
* questions.
|
||||
*/
|
||||
|
||||
import sha.predicate.IntrinsicPredicates;
|
||||
|
||||
/**
|
||||
* @test
|
||||
* @bug 8035968
|
||||
* @summary Verify that SHA-512 multi block intrinsic is actually used.
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary ../
|
||||
* @library /testlibrary /test/lib / ../
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestSHA intrinsics.Verifier TestSHA512MultiBlockIntrinsics
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @build TestSHA compiler.testlibrary.intrinsics.Verifier TestSHA512MultiBlockIntrinsics
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI -Xbatch -XX:CompileThreshold=500
|
||||
* -XX:Tier4InvocationThreshold=500
|
||||
@ -82,10 +80,13 @@ import sha.predicate.IntrinsicPredicates;
|
||||
* -XX:CompileOnly=sun/security/provider/SHA -XX:-UseSHA
|
||||
* -Dalgorithm=SHA-512 TestSHA512MultiBlockIntrinsics
|
||||
* @run main/othervm -DverificationStrategy=VERIFY_INTRINSIC_USAGE
|
||||
* intrinsics.Verifier positive_384.log positive_512.log
|
||||
* compiler.testlibrary.intrinsics.Verifier positive_384.log positive_512.log
|
||||
* positive_384_def.log positive_512_def.log negative_384.log
|
||||
* negative_512.log
|
||||
*/
|
||||
|
||||
import compiler.testlibrary.sha.predicate.IntrinsicPredicates;
|
||||
|
||||
public class TestSHA512MultiBlockIntrinsics {
|
||||
public static void main(String args[]) throws Exception {
|
||||
new SHASanityTestBase(IntrinsicPredicates.SHA512_INTRINSICS_AVAILABLE,
|
||||
|
@ -25,7 +25,7 @@
|
||||
* @test
|
||||
* @bug 8067247
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /test/lib /compiler/whitebox /
|
||||
* @library /test/lib /
|
||||
* @run main/bootclasspath/othervm -Xcomp -Xbatch
|
||||
* -XX:CompileCommand=compileonly,InvokerGC::test
|
||||
* -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
|
||||
|
@ -26,10 +26,10 @@
|
||||
* @bug 8073480
|
||||
* @summary explicit range checks should be recognized by C2
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @library /testlibrary /test/lib /compiler/whitebox /
|
||||
* @library /testlibrary /test/lib /
|
||||
* @build TestExplicitRangeChecks
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* @run main ClassFileInstaller jdk.test.lib.Platform
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* jdk.test.lib.Platform
|
||||
* @run main/othervm -ea -Xmixed -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
|
||||
* -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:CompileCommand=compileonly,TestExplicitRangeChecks.test* TestExplicitRangeChecks
|
||||
*
|
||||
|
@ -25,12 +25,12 @@
|
||||
* @test
|
||||
* @bug 8066103
|
||||
* @summary C2's range check smearing allows out of bound array accesses
|
||||
* @library /testlibrary /test/lib /compiler/whitebox /
|
||||
* @library /testlibrary /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestRangeCheckSmearing
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* @run main ClassFileInstaller jdk.test.lib.Platform
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* jdk.test.lib.Platform
|
||||
* @run main/othervm -ea -Xmixed -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
|
||||
* -XX:-BackgroundCompilation -XX:-UseOnStackReplacement TestRangeCheckSmearing
|
||||
*
|
||||
|
@ -28,8 +28,8 @@ import java.util.LinkedList;
|
||||
import jdk.test.lib.ExitCode;
|
||||
import jdk.test.lib.cli.*;
|
||||
import jdk.test.lib.cli.predicate.AndPredicate;
|
||||
import rtm.predicate.SupportedCPU;
|
||||
import rtm.predicate.SupportedVM;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedCPU;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedVM;
|
||||
|
||||
/**
|
||||
* Base for all RTM-related CLI tests on options whose processing depends
|
||||
|
@ -27,12 +27,12 @@
|
||||
* @bug 8031320
|
||||
* @summary Verify PrintPreciseRTMLockingStatistics on CPUs with
|
||||
* rtm support and on VM with rtm locking support,
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary
|
||||
* @library /testlibrary /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestPrintPreciseRTMLockingStatisticsOptionOnSupportedConfig
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI
|
||||
* TestPrintPreciseRTMLockingStatisticsOptionOnSupportedConfig
|
||||
@ -40,8 +40,8 @@
|
||||
|
||||
import jdk.test.lib.cli.*;
|
||||
import jdk.test.lib.cli.predicate.AndPredicate;
|
||||
import rtm.predicate.SupportedCPU;
|
||||
import rtm.predicate.SupportedVM;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedCPU;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedVM;
|
||||
|
||||
public class TestPrintPreciseRTMLockingStatisticsOptionOnSupportedConfig
|
||||
extends TestPrintPreciseRTMLockingStatisticsBase {
|
||||
|
@ -27,12 +27,12 @@
|
||||
* @bug 8031320
|
||||
* @summary Verify PrintPreciseRTMLockingStatistics on CPUs without
|
||||
* rtm support and/or unsupported VM.
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary
|
||||
* @library /testlibrary /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestPrintPreciseRTMLockingStatisticsOptionOnUnsupportedConfig
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI
|
||||
* TestPrintPreciseRTMLockingStatisticsOptionOnUnsupportedConfig
|
||||
@ -40,8 +40,8 @@
|
||||
|
||||
import jdk.test.lib.cli.predicate.AndPredicate;
|
||||
import jdk.test.lib.cli.predicate.NotPredicate;
|
||||
import rtm.predicate.SupportedCPU;
|
||||
import rtm.predicate.SupportedVM;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedCPU;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedVM;
|
||||
|
||||
public class TestPrintPreciseRTMLockingStatisticsOptionOnUnsupportedConfig
|
||||
extends TestPrintPreciseRTMLockingStatisticsBase {
|
||||
|
@ -27,12 +27,12 @@
|
||||
* @bug 8031320
|
||||
* @summary Verify RTMAbortRatio option processing on CPU with rtm
|
||||
* support and on VM with rtm locking support.
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary
|
||||
* @library /testlibrary /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestRTMAbortRatioOptionOnSupportedConfig
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI TestRTMAbortRatioOptionOnSupportedConfig
|
||||
*/
|
||||
|
@ -27,20 +27,20 @@
|
||||
* @bug 8031320
|
||||
* @summary Verify RTMAbortRatio option processing on CPU without rtm
|
||||
* support or on VM that does not support rtm locking.
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary
|
||||
* @library /testlibrary /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestRTMAbortRatioOptionOnUnsupportedConfig
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI TestRTMAbortRatioOptionOnUnsupportedConfig
|
||||
*/
|
||||
|
||||
import jdk.test.lib.cli.predicate.AndPredicate;
|
||||
import jdk.test.lib.cli.predicate.NotPredicate;
|
||||
import rtm.predicate.SupportedCPU;
|
||||
import rtm.predicate.SupportedVM;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedCPU;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedVM;
|
||||
|
||||
public class TestRTMAbortRatioOptionOnUnsupportedConfig
|
||||
extends RTMGenericCommandLineOptionTest {
|
||||
|
@ -27,12 +27,12 @@
|
||||
* @bug 8031320
|
||||
* @summary Verify RTMTotalCountIncrRate option processing on CPU with
|
||||
* rtm support and on VM with rtm locking support.
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary
|
||||
* @library /testlibrary /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestRTMTotalCountIncrRateOptionOnSupportedConfig
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI
|
||||
* TestRTMTotalCountIncrRateOptionOnSupportedConfig
|
||||
|
@ -24,20 +24,20 @@
|
||||
|
||||
import jdk.test.lib.cli.predicate.AndPredicate;
|
||||
import jdk.test.lib.cli.predicate.NotPredicate;
|
||||
import rtm.predicate.SupportedCPU;
|
||||
import rtm.predicate.SupportedVM;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedCPU;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedVM;
|
||||
|
||||
/**
|
||||
* @test
|
||||
* @bug 8031320
|
||||
* @summary Verify RTMTotalCountIncrRate option processing on CPU without
|
||||
* rtm support and/or on VM without rtm locking support.
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary
|
||||
* @library /testlibrary /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestRTMTotalCountIncrRateOptionOnUnsupportedConfig
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI
|
||||
* TestRTMTotalCountIncrRateOptionOnUnsupportedConfig
|
||||
|
@ -27,12 +27,12 @@
|
||||
* @bug 8031320
|
||||
* @summary Verify UseRTMDeopt option processing on CPUs with rtm support
|
||||
* when rtm locking is supported by VM.
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary
|
||||
* @library /testlibrary /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestUseRTMDeoptOptionOnSupportedConfig
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI TestUseRTMDeoptOptionOnSupportedConfig
|
||||
*/
|
||||
@ -40,8 +40,8 @@
|
||||
import jdk.test.lib.ExitCode;
|
||||
import jdk.test.lib.cli.CommandLineOptionTest;
|
||||
import jdk.test.lib.cli.predicate.AndPredicate;
|
||||
import rtm.predicate.SupportedCPU;
|
||||
import rtm.predicate.SupportedVM;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedCPU;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedVM;
|
||||
|
||||
public class TestUseRTMDeoptOptionOnSupportedConfig
|
||||
extends CommandLineOptionTest {
|
||||
|
@ -27,12 +27,12 @@
|
||||
* @bug 8031320
|
||||
* @summary Verify UseRTMDeopt option processing on CPUs without rtm support
|
||||
* or on VMs without rtm locking support.
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary
|
||||
* @library /testlibrary /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestUseRTMDeoptOptionOnUnsupportedConfig
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI TestUseRTMDeoptOptionOnUnsupportedConfig
|
||||
*/
|
||||
@ -41,8 +41,8 @@ import jdk.test.lib.cli.CommandLineOptionTest;
|
||||
|
||||
import jdk.test.lib.cli.predicate.AndPredicate;
|
||||
import jdk.test.lib.cli.predicate.NotPredicate;
|
||||
import rtm.predicate.SupportedCPU;
|
||||
import rtm.predicate.SupportedVM;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedCPU;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedVM;
|
||||
|
||||
public class TestUseRTMDeoptOptionOnUnsupportedConfig
|
||||
extends RTMGenericCommandLineOptionTest {
|
||||
|
@ -27,12 +27,12 @@
|
||||
* @bug 8031320
|
||||
* @summary Verify UseRTMForStackLocks option processing on CPU with
|
||||
* rtm support when VM supports rtm locking.
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary
|
||||
* @library /testlibrary /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestUseRTMForStackLocksOptionOnSupportedConfig
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI
|
||||
* TestUseRTMForStackLocksOptionOnSupportedConfig
|
||||
@ -41,8 +41,8 @@
|
||||
import jdk.test.lib.*;
|
||||
import jdk.test.lib.cli.*;
|
||||
import jdk.test.lib.cli.predicate.AndPredicate;
|
||||
import rtm.predicate.SupportedCPU;
|
||||
import rtm.predicate.SupportedVM;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedCPU;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedVM;
|
||||
|
||||
public class TestUseRTMForStackLocksOptionOnSupportedConfig
|
||||
extends CommandLineOptionTest {
|
||||
|
@ -27,12 +27,12 @@
|
||||
* @bug 8031320
|
||||
* @summary Verify UseRTMForStackLocks option processing on CPUs without
|
||||
* rtm support and/or on VMs without rtm locking support.
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary
|
||||
* @library /testlibrary /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestUseRTMForStackLocksOptionOnUnsupportedConfig
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI
|
||||
* TestUseRTMForStackLocksOptionOnUnsupportedConfig
|
||||
@ -42,8 +42,8 @@ import jdk.test.lib.ExitCode;
|
||||
import jdk.test.lib.cli.CommandLineOptionTest;
|
||||
import jdk.test.lib.cli.predicate.AndPredicate;
|
||||
import jdk.test.lib.cli.predicate.NotPredicate;
|
||||
import rtm.predicate.SupportedCPU;
|
||||
import rtm.predicate.SupportedVM;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedCPU;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedVM;
|
||||
|
||||
public class TestUseRTMForStackLocksOptionOnUnsupportedConfig
|
||||
extends RTMGenericCommandLineOptionTest {
|
||||
|
@ -27,12 +27,12 @@
|
||||
* @bug 8031320
|
||||
* @summary Verify UseRTMLocking option processing on CPU with rtm support and
|
||||
* on VM with rtm-locking support.
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary
|
||||
* @library /testlibrary /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestUseRTMLockingOptionOnSupportedConfig
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI TestUseRTMLockingOptionOnSupportedConfig
|
||||
*/
|
||||
@ -40,8 +40,8 @@
|
||||
import jdk.test.lib.ExitCode;
|
||||
import jdk.test.lib.cli.*;
|
||||
import jdk.test.lib.cli.predicate.AndPredicate;
|
||||
import rtm.predicate.SupportedCPU;
|
||||
import rtm.predicate.SupportedVM;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedCPU;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedVM;
|
||||
|
||||
public class TestUseRTMLockingOptionOnSupportedConfig
|
||||
extends CommandLineOptionTest {
|
||||
|
@ -27,12 +27,12 @@
|
||||
* @bug 8031320
|
||||
* @summary Verify UseRTMLocking option processing on CPU without
|
||||
* rtm support.
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary
|
||||
* @library /testlibrary /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestUseRTMLockingOptionOnUnsupportedCPU
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI TestUseRTMLockingOptionOnUnsupportedCPU
|
||||
*/
|
||||
@ -41,8 +41,8 @@ import jdk.test.lib.*;
|
||||
import jdk.test.lib.cli.*;
|
||||
import jdk.test.lib.cli.predicate.AndPredicate;
|
||||
import jdk.test.lib.cli.predicate.NotPredicate;
|
||||
import rtm.predicate.SupportedCPU;
|
||||
import rtm.predicate.SupportedVM;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedCPU;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedVM;
|
||||
|
||||
public class TestUseRTMLockingOptionOnUnsupportedCPU
|
||||
extends CommandLineOptionTest {
|
||||
|
@ -27,12 +27,12 @@
|
||||
* @bug 8031320
|
||||
* @summary Verify UseRTMLocking option processing on CPU with rtm support
|
||||
* in case when VM should not support this option.
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary
|
||||
* @library /testlibrary /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestUseRTMLockingOptionOnUnsupportedVM
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI TestUseRTMLockingOptionOnUnsupportedVM
|
||||
*/
|
||||
@ -41,8 +41,8 @@ import jdk.test.lib.ExitCode;
|
||||
import jdk.test.lib.cli.*;
|
||||
import jdk.test.lib.cli.predicate.AndPredicate;
|
||||
import jdk.test.lib.cli.predicate.NotPredicate;
|
||||
import rtm.predicate.SupportedCPU;
|
||||
import rtm.predicate.SupportedVM;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedCPU;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedVM;
|
||||
|
||||
public class TestUseRTMLockingOptionOnUnsupportedVM
|
||||
extends CommandLineOptionTest {
|
||||
|
@ -27,12 +27,12 @@
|
||||
* @bug 8031320
|
||||
* @summary Verify processing of UseRTMLocking and UseBiasedLocking
|
||||
* options combination on CPU and VM with rtm support.
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary
|
||||
* @library /testlibrary /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestUseRTMLockingOptionWithBiasedLocking
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI TestUseRTMLockingOptionWithBiasedLocking
|
||||
*/
|
||||
@ -40,8 +40,8 @@
|
||||
import jdk.test.lib.*;
|
||||
import jdk.test.lib.cli.*;
|
||||
import jdk.test.lib.cli.predicate.AndPredicate;
|
||||
import rtm.predicate.SupportedCPU;
|
||||
import rtm.predicate.SupportedVM;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedCPU;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedVM;
|
||||
|
||||
public class TestUseRTMLockingOptionWithBiasedLocking
|
||||
extends CommandLineOptionTest {
|
||||
|
@ -27,11 +27,11 @@
|
||||
* @bug 8031320
|
||||
* @summary Verify that RTMAbortRatio affects amount of aborts before
|
||||
* deoptimization.
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary
|
||||
* @library /testlibrary /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestRTMAbortRatio
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI TestRTMAbortRatio
|
||||
@ -41,9 +41,9 @@ import java.util.List;
|
||||
import jdk.test.lib.*;
|
||||
import jdk.test.lib.cli.CommandLineOptionTest;
|
||||
import jdk.test.lib.cli.predicate.AndPredicate;
|
||||
import rtm.*;
|
||||
import rtm.predicate.SupportedCPU;
|
||||
import rtm.predicate.SupportedVM;
|
||||
import compiler.testlibrary.rtm.*;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedCPU;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedVM;
|
||||
import jdk.internal.misc.Unsafe;
|
||||
|
||||
/**
|
||||
|
@ -27,11 +27,11 @@
|
||||
* @bug 8031320
|
||||
* @summary Verify that RTMAbortThreshold option affects
|
||||
* amount of aborts after which abort ratio is calculated.
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary
|
||||
* @library /testlibrary /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestRTMAbortThreshold
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI TestRTMAbortThreshold
|
||||
@ -41,9 +41,9 @@ import java.util.List;
|
||||
import jdk.test.lib.*;
|
||||
import jdk.test.lib.cli.CommandLineOptionTest;
|
||||
import jdk.test.lib.cli.predicate.AndPredicate;
|
||||
import rtm.*;
|
||||
import rtm.predicate.SupportedCPU;
|
||||
import rtm.predicate.SupportedVM;
|
||||
import compiler.testlibrary.rtm.*;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedCPU;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedVM;
|
||||
|
||||
/**
|
||||
* Test verifies that on RTMAbortThreshold option actually affects how soon
|
||||
|
@ -29,12 +29,12 @@
|
||||
* caused by reason other then rtm_state_change will reset
|
||||
* method's RTM state. And if we don't use RTMDeopt, then
|
||||
* RTM state remain the same after such deoptimization.
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary
|
||||
* @library /testlibrary /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestRTMAfterNonRTMDeopt
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI TestRTMAfterNonRTMDeopt
|
||||
*/
|
||||
@ -43,9 +43,9 @@ import java.util.List;
|
||||
import jdk.test.lib.*;
|
||||
import jdk.test.lib.cli.CommandLineOptionTest;
|
||||
import jdk.test.lib.cli.predicate.AndPredicate;
|
||||
import rtm.*;
|
||||
import rtm.predicate.SupportedCPU;
|
||||
import rtm.predicate.SupportedVM;
|
||||
import compiler.testlibrary.rtm.*;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedCPU;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedVM;
|
||||
import jdk.internal.misc.Unsafe;
|
||||
|
||||
/**
|
||||
|
@ -27,12 +27,12 @@
|
||||
* @bug 8031320
|
||||
* @summary Verify that on high abort ratio method will be recompiled
|
||||
* without rtm locking.
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary
|
||||
* @library /testlibrary /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestRTMDeoptOnHighAbortRatio
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI TestRTMDeoptOnHighAbortRatio
|
||||
*/
|
||||
@ -41,9 +41,9 @@ import java.util.List;
|
||||
import jdk.test.lib.*;
|
||||
import jdk.test.lib.cli.CommandLineOptionTest;
|
||||
import jdk.test.lib.cli.predicate.AndPredicate;
|
||||
import rtm.*;
|
||||
import rtm.predicate.SupportedCPU;
|
||||
import rtm.predicate.SupportedVM;
|
||||
import compiler.testlibrary.rtm.*;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedCPU;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedVM;
|
||||
|
||||
/**
|
||||
* Test verifies that on high abort ratio method wil be deoptimized with
|
||||
|
@ -26,12 +26,12 @@
|
||||
* @test
|
||||
* @bug 8031320
|
||||
* @summary Verify that on low abort ratio method will be recompiled.
|
||||
* @library /testlibrary /test/lib /compiler/testlibrary
|
||||
* @library /testlibrary /test/lib /
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* java.management
|
||||
* @build TestRTMDeoptOnLowAbortRatio
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI TestRTMDeoptOnLowAbortRatio
|
||||
*/
|
||||
@ -40,9 +40,9 @@ import java.util.List;
|
||||
import jdk.test.lib.*;
|
||||
import jdk.test.lib.cli.CommandLineOptionTest;
|
||||
import jdk.test.lib.cli.predicate.AndPredicate;
|
||||
import rtm.*;
|
||||
import rtm.predicate.SupportedCPU;
|
||||
import rtm.predicate.SupportedVM;
|
||||
import compiler.testlibrary.rtm.*;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedCPU;
|
||||
import compiler.testlibrary.rtm.predicate.SupportedVM;
|
||||
import jdk.internal.misc.Unsafe;
|
||||
|
||||
/**
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user