8132920: use package in compiler testlibraries

Reviewed-by: kvn, psandoz
This commit is contained in:
Igor Ignatyev 2016-06-22 00:29:32 +03:00
parent 300dc664ff
commit 23e0d96f6e
130 changed files with 516 additions and 498 deletions

View file

@ -26,12 +26,12 @@
* @test
* @bug 8031320
* @summary Verify that rtm locking is used for stack locks.
* @library /testlibrary /test/lib /compiler/testlibrary
* @library /testlibrary /test/lib /
* @modules java.base/jdk.internal.misc
* java.management
* @build TestUseRTMForStackLocks
* @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 TestUseRTMForStackLocks
*/
@ -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 RTM-based lock elision could be used for stack locks