Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions hotspot/test/compiler/6857159/Test6857159.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
* @test
* @bug 6857159
* @summary local schedule failed with checkcast of Thread.currentThread()
* @library /testlibrary
* @library /test/lib
*/

import com.oracle.java.testlibrary.*;
import jdk.test.lib.process.*;

public class Test6857159 {
public static void main(String[] args) throws Throwable {
Expand Down
2 changes: 1 addition & 1 deletion hotspot/test/compiler/8009761/Test8009761.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/*
* @test
* @bug 8009761
* @library /testlibrary /testlibrary/whitebox
* @library /test/lib
* @summary Deoptimization on sparc doesn't set Llast_SP correctly in the interpreter frames it creates
* @build Test8009761
* @run main ClassFileInstaller sun.hotspot.WhiteBox
Expand Down
2 changes: 1 addition & 1 deletion hotspot/test/compiler/8010927/Test8010927.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
* @test
* @bug 8010927
* @summary Kitchensink crashed with SIGSEGV, Problematic frame: v ~StubRoutines::checkcast_arraycopy
* @library /testlibrary/whitebox /testlibrary
* @library /test/lib
* @build Test8010927
* @run main ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+IgnoreUnrecognizedVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. -Xmx64m -XX:NewSize=20971520 -XX:MaxNewSize=32m -XX:-UseTLAB -XX:-UseParNewGC -XX:-UseAdaptiveSizePolicy Test8010927
Expand Down
4 changes: 2 additions & 2 deletions hotspot/test/compiler/EliminateAutoBox/UnsignedLoads.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@

/*
* @test
* @library /testlibrary
* @library /test/lib
* @run main/othervm -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:+EliminateAutoBox
* -XX:CompileOnly=::valueOf,::byteValue,::shortValue,::testUnsignedByte,::testUnsignedShort
* UnsignedLoads
*/
import static com.oracle.java.testlibrary.Asserts.assertEQ;
import static jdk.test.lib.Asserts.assertEQ;

public class UnsignedLoads {
public static int testUnsignedByte() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* questions.
*/

import com.oracle.java.testlibrary.cli.*;
import jdk.test.lib.cli.*;

/**
* Base class for all X86 bit manipulation related command line options.
Expand Down
4 changes: 2 additions & 2 deletions hotspot/test/compiler/arguments/BMISupportedCPUTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
* questions.
*/

import com.oracle.java.testlibrary.*;
import com.oracle.java.testlibrary.cli.*;
import jdk.test.lib.cli.*;
import jdk.test.lib.process.*;

/**
* Test on bit manipulation related command line options,
Expand Down
5 changes: 3 additions & 2 deletions hotspot/test/compiler/arguments/BMIUnsupportedCPUTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@
* questions.
*/

import com.oracle.java.testlibrary.*;
import com.oracle.java.testlibrary.cli.*;
import jdk.test.lib.*;
import jdk.test.lib.cli.*;
import jdk.test.lib.process.*;

/**
* Test on bit manipulation related command line options,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* @bug 8031321
* @summary Verify processing of UseBMI1Instructions option on CPU with
* BMI1 feature support.
* @library /testlibrary /testlibrary/whitebox
* @library /test/lib
* @build TestUseBMI1InstructionsOnSupportedCPU
* BMISupportedCPUTest
* @run main ClassFileInstaller sun.hotspot.WhiteBox
Expand All @@ -35,7 +35,7 @@
*/

import sun.hotspot.cpuinfo.CPUInfo;
import com.oracle.java.testlibrary.*;
import jdk.test.lib.*;

public class TestUseBMI1InstructionsOnSupportedCPU
extends BMISupportedCPUTest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* @bug 8031321
* @summary Verify processing of UseBMI1Instructions option on CPU without
* BMI1 feature support.
* @library /testlibrary /testlibrary/whitebox
* @library /test/lib
* @build TestUseBMI1InstructionsOnUnsupportedCPU
* BMIUnsupportedCPUTest
* @run main ClassFileInstaller sun.hotspot.WhiteBox
Expand All @@ -35,8 +35,8 @@
*/

import sun.hotspot.cpuinfo.CPUInfo;
import com.oracle.java.testlibrary.*;
import com.oracle.java.testlibrary.cli.*;
import jdk.test.lib.*;
import jdk.test.lib.cli.*;

public class TestUseBMI1InstructionsOnUnsupportedCPU
extends BMIUnsupportedCPUTest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* @bug 8031321
* @summary Verify processing of UseCountLeadingZerosInstruction option
* on CPU with LZCNT support.
* @library /testlibrary /testlibrary/whitebox
* @library /test/lib
* @build TestUseCountLeadingZerosInstructionOnSupportedCPU
* BMISupportedCPUTest
* @run main ClassFileInstaller sun.hotspot.WhiteBox
Expand All @@ -36,7 +36,7 @@
*/

import sun.hotspot.cpuinfo.CPUInfo;
import com.oracle.java.testlibrary.*;
import jdk.test.lib.*;

public class TestUseCountLeadingZerosInstructionOnSupportedCPU
extends BMISupportedCPUTest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* @bug 8031321
* @summary Verify processing of UseCountLeadingZerosInstruction option
* on CPU without LZCNT support.
* @library /testlibrary /testlibrary/whitebox
* @library /test/lib
* @build TestUseCountLeadingZerosInstructionOnUnsupportedCPU
* BMIUnsupportedCPUTest
* @run main ClassFileInstaller sun.hotspot.WhiteBox
Expand All @@ -36,7 +36,7 @@
*/

import sun.hotspot.cpuinfo.CPUInfo;
import com.oracle.java.testlibrary.*;
import jdk.test.lib.*;

public class TestUseCountLeadingZerosInstructionOnUnsupportedCPU
extends BMIUnsupportedCPUTest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* @bug 8031321
* @summary Verify processing of UseCountTrailingZerosInstruction option
* on CPU with TZCNT (BMI1 feature) support.
* @library /testlibrary /testlibrary/whitebox
* @library /test/lib
* @build TestUseCountTrailingZerosInstructionOnSupportedCPU
* BMISupportedCPUTest
* @run main ClassFileInstaller sun.hotspot.WhiteBox
Expand All @@ -36,8 +36,8 @@
*/

import sun.hotspot.cpuinfo.CPUInfo;
import com.oracle.java.testlibrary.*;
import com.oracle.java.testlibrary.cli.*;
import jdk.test.lib.*;
import jdk.test.lib.cli.*;

public class TestUseCountTrailingZerosInstructionOnSupportedCPU
extends BMISupportedCPUTest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* @bug 8031321
* @summary Verify processing of UseCountTrailingZerosInstruction option
* on CPU without TZCNT instuction (BMI1 feature) support.
* @library /testlibrary /testlibrary/whitebox
* @library /test/lib
* @build TestUseCountTrailingZerosInstructionOnUnsupportedCPU
* BMIUnsupportedCPUTest
* @run main ClassFileInstaller sun.hotspot.WhiteBox
Expand All @@ -36,8 +36,8 @@
*/

import sun.hotspot.cpuinfo.CPUInfo;
import com.oracle.java.testlibrary.*;
import com.oracle.java.testlibrary.cli.*;
import jdk.test.lib.*;
import jdk.test.lib.cli.*;

public class TestUseCountTrailingZerosInstructionOnUnsupportedCPU
extends BMIUnsupportedCPUTest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* @test TestAnonymousClassUnloading
* @bug 8054402
* @summary "Tests unloading of anonymous classes."
* @library /testlibrary /testlibrary/whitebox
* @library /test/lib
* @compile TestAnonymousClassUnloading.java
* @run main ClassFileInstaller TestAnonymousClassUnloading
* sun.hotspot.WhiteBox
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
* @test MethodUnloadingTest
* @bug 8029443
* @summary "Tests the unloading of methods to to class unloading"
* @library /testlibrary /testlibrary/whitebox
* @library /test/lib
* @build TestMethodUnloading
* @build WorkerClass
* @run main ClassFileInstaller sun.hotspot.WhiteBox
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
* @bug 8013496
* @summary Test checks that the order in which ReversedCodeCacheSize and
* InitialCodeCacheSize are passed to the VM is irrelevant.
* @library /testlibrary
* @library /test/lib
*
*/
import com.oracle.java.testlibrary.*;
import jdk.test.lib.process.*;

public class CheckReservedInitialCodeCacheSizeArgOrder {
public static void main(String[] args) throws Exception {
Expand Down
4 changes: 2 additions & 2 deletions hotspot/test/compiler/codecache/CheckUpperLimit.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
* @test
* @bug 8015635
* @summary Test ensures that the ReservedCodeCacheSize is at most MAXINT
* @library /testlibrary
* @library /test/lib
*
*/
import com.oracle.java.testlibrary.*;
import jdk.test.lib.process.*;

public class CheckUpperLimit {
public static void main(String[] args) throws Exception {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@

package compiler.conversions;

import com.oracle.java.testlibrary.Asserts;
import jdk.test.lib.Asserts;

/*
* @test
* @bug 8234617
* @summary Test implicit narrowing conversion of primivite values at putfield.
* @library /testlibrary
* @library /test/lib
* @compile Conversion.jasm
* @run main/othervm -Xbatch -XX:CompileCommand=dontinline,compiler.conversions.Conversion::*
* compiler.conversions.TestPrimitiveConversions
Expand Down
4 changes: 2 additions & 2 deletions hotspot/test/compiler/cpuflags/RestoreMXCSR.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
* @test
* @bug 8020433
* @summary Crash when using -XX:+RestoreMXCSROnJNICalls
* @library /testlibrary
* @library /test/lib
*
*/
import com.oracle.java.testlibrary.*;
import jdk.test.lib.process.*;

public class RestoreMXCSR {
public static void main(String[] args) throws Exception {
Expand Down
4 changes: 2 additions & 2 deletions hotspot/test/compiler/debug/VerifyAdapterSharing.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
* @test
* @bug 8030783
* @summary Regression test for 8026478
* @library /testlibrary
* @library /test/lib
*
*/
import com.oracle.java.testlibrary.*;
import jdk.test.lib.process.*;

public class VerifyAdapterSharing {
public static void main(String[] args) throws Exception {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
import java.util.ArrayList;
import java.util.Collections;

import com.oracle.java.testlibrary.*;
import jdk.test.lib.process.*;

/*
* @test
* @bug 8050079
* @summary Compiles a monomorphic call to finalizeObject() on a modified java.lang.Object to test C1 CHA.
* @library /testlibrary
* @library /test/lib
* @compile -XDignore.symbol.file java/lang/Object.java TestMonomorphicObjectCall.java
* @run main TestMonomorphicObjectCall
*/
Expand Down
2 changes: 1 addition & 1 deletion hotspot/test/compiler/floatingpoint/TestPow2.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
* @test
* @bug 8063086
* @summary X^2 special case for C2 yields different result than interpreter
* @library /testlibrary /testlibrary/whitebox /compiler/whitebox
* @library /test/lib /compiler/whitebox
* @build TestPow2
* @run main ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* @test
* @bug 8148175
* @requires vm.gc=="G1" | vm.gc=="null"
* @library /testlibrary /testlibrary/whitebox
* @library /test/lib
* @run main/bootclasspath/othervm -Xbatch -XX:+UnlockDiagnosticVMOptions
* -XX:+WhiteBoxAPI -Xmx300m -XX:+UseG1GC PreserveFPRegistersTest
*/
Expand Down
4 changes: 2 additions & 2 deletions hotspot/test/compiler/gcbarriers/TestMembarDependencies.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
* @test TestMembarDependencies
* @bug 8172850
* @summary Tests correct scheduling of memory loads around MembarVolatile emitted by GC barriers.
* @library /testlibrary
* @library /test/lib
* @run driver compiler.membars.TestMembarDependencies
*/

package compiler.membars;

import com.oracle.java.testlibrary.*;
import jdk.test.lib.process.*;

public class TestMembarDependencies {
private static TestMembarDependencies f1;
Expand Down
3 changes: 2 additions & 1 deletion hotspot/test/compiler/intrinsics/bmi/BMITestRunner.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
import java.nio.file.Paths;
import java.nio.charset.StandardCharsets;

import com.oracle.java.testlibrary.*;
import jdk.test.lib.*;
import jdk.test.lib.process.*;

/**
* Test runner that invokes all methods implemented by particular Expr
Expand Down
2 changes: 1 addition & 1 deletion hotspot/test/compiler/intrinsics/bmi/TestAndnI.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @bug 8031321
* @summary Verify that results of computations are the same w/
* and w/o usage of ANDN instruction
* @library /testlibrary /testlibrary/whitebox
* @library /test/lib
* @build TestAndnI BMITestRunner Expr
* @run main ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
Expand Down
2 changes: 1 addition & 1 deletion hotspot/test/compiler/intrinsics/bmi/TestAndnL.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @bug 8031321
* @summary Verify that results of computations are the same w/
* and w/o usage of ANDN instruction
* @library /testlibrary /testlibrary/whitebox
* @library /test/lib
* @build TestAndnL BMITestRunner Expr
* @run main ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
Expand Down
2 changes: 1 addition & 1 deletion hotspot/test/compiler/intrinsics/bmi/TestBlsiI.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @bug 8031321
* @summary Verify that results of computations are the same w/
* and w/o usage of BLSI instruction
* @library /testlibrary /testlibrary/whitebox
* @library /test/lib
* @build TestBlsiI BMITestRunner Expr
* @run main ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
Expand Down
2 changes: 1 addition & 1 deletion hotspot/test/compiler/intrinsics/bmi/TestBlsiL.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @bug 8031321
* @summary Verify that results of computations are the same w/
* and w/o usage of BLSI instruction
* @library /testlibrary /testlibrary/whitebox
* @library /test/lib
* @build TestBlsiL BMITestRunner Expr
* @run main ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
Expand Down
2 changes: 1 addition & 1 deletion hotspot/test/compiler/intrinsics/bmi/TestBlsmskI.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @bug 8031321
* @summary Verify that results of computations are the same w/
* and w/o usage of BLSMSK instruction
* @library /testlibrary /testlibrary/whitebox
* @library /test/lib
* @build TestBlsmskI BMITestRunner Expr
* @run main ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
Expand Down
2 changes: 1 addition & 1 deletion hotspot/test/compiler/intrinsics/bmi/TestBlsmskL.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @bug 8031321
* @summary Verify that results of computations are the same w/
* and w/o usage of BLSMSK instruction
* @library /testlibrary /testlibrary/whitebox
* @library /test/lib
* @build TestBlsmskL BMITestRunner Expr
* @run main ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
Expand Down
Loading