mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8132919: Put compiler tests in packages
Reviewed-by: vlivanov, dpochepk
This commit is contained in:
parent
4710cf65a7
commit
a0381422dd
942 changed files with 12622 additions and 9353 deletions
|
@ -22,32 +22,38 @@
|
|||
*
|
||||
*/
|
||||
|
||||
import java.lang.management.MemoryPoolMXBean;
|
||||
import java.util.EnumSet;
|
||||
import java.util.ArrayList;
|
||||
|
||||
import sun.hotspot.WhiteBox;
|
||||
import sun.hotspot.code.BlobType;
|
||||
import sun.hotspot.code.CodeBlob;
|
||||
import jdk.test.lib.Asserts;
|
||||
|
||||
/*
|
||||
* @test OverflowCodeCacheTest
|
||||
* @bug 8059550
|
||||
* @summary testing of code cache segments overflow
|
||||
* @library /testlibrary /test/lib
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @modules java.management
|
||||
* @build OverflowCodeCacheTest
|
||||
* @run main ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* java.management
|
||||
*
|
||||
* @build compiler.codecache.OverflowCodeCacheTest
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* sun.hotspot.WhiteBox$WhiteBoxPermission
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI -XX:CompileCommand=compileonly,null::*
|
||||
* -XX:-SegmentedCodeCache OverflowCodeCacheTest
|
||||
* -XX:-SegmentedCodeCache
|
||||
* compiler.codecache.OverflowCodeCacheTest
|
||||
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
* -XX:+WhiteBoxAPI -XX:CompileCommand=compileonly,null::*
|
||||
* -XX:+SegmentedCodeCache OverflowCodeCacheTest
|
||||
* @summary testing of code cache segments overflow
|
||||
* -XX:+SegmentedCodeCache
|
||||
* compiler.codecache.OverflowCodeCacheTest
|
||||
*/
|
||||
|
||||
package compiler.codecache;
|
||||
|
||||
import jdk.test.lib.Asserts;
|
||||
import sun.hotspot.WhiteBox;
|
||||
import sun.hotspot.code.BlobType;
|
||||
import sun.hotspot.code.CodeBlob;
|
||||
|
||||
import java.lang.management.MemoryPoolMXBean;
|
||||
import java.util.ArrayList;
|
||||
import java.util.EnumSet;
|
||||
|
||||
public class OverflowCodeCacheTest {
|
||||
private static final WhiteBox WHITE_BOX = WhiteBox.getWhiteBox();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue