Skip to content

Commit 989f39f

Browse files
committed
8272552: mark hotspot runtime/cds tests which ignore external VM flags
Reviewed-by: mseledtsov, jiefu, dholmes, iklam
1 parent ee8bf10 commit 989f39f

File tree

6 files changed

+6
-0
lines changed

6 files changed

+6
-0
lines changed

test/hotspot/jtreg/runtime/cds/MaxMetaspaceSize.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
/**
2525
* @test
2626
* @requires vm.cds
27+
* @requires vm.flagless
2728
* @bug 8067187 8200078
2829
* @summary Testing CDS dumping with the -XX:MaxMetaspaceSize=<size> option
2930
* @library /test/lib

test/hotspot/jtreg/runtime/cds/SharedStrings.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
* @summary Check to make sure that shared strings in the bootstrap CDS archive
2727
* are actually shared
2828
* @requires vm.cds.archived.java.heap
29+
* @requires vm.flagless
2930
* @library /test/lib
3031
* @build SharedStringsWb sun.hotspot.WhiteBox
3132
* @run driver jdk.test.lib.helpers.ClassFileInstaller -jar whitebox.jar sun.hotspot.WhiteBox

test/hotspot/jtreg/runtime/cds/appcds/MoveJDKTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
* @summary Test that CDS still works when the JDK is moved to a new directory
2828
* @bug 8272345
2929
* @requires vm.cds
30+
* @requires vm.flagless
3031
* @comment This test doesn't work on Windows because it depends on symlinks
3132
* @requires os.family != "windows"
3233
* @library /test/lib

test/hotspot/jtreg/runtime/cds/appcds/VerifyWithDefaultArchive.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
* @test
2727
* @bug 8264337
2828
* @summary test default cds archive when turning on VerifySharedSpaces
29+
* @requires vm.flagless
2930
* @requires vm.cds
3031
* @library /test/lib
3132
* @run driver VerifyWithDefaultArchive

test/hotspot/jtreg/runtime/cds/appcds/cacheObject/ArchivedModuleWithCustomImageTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
* @test
2626
* @summary Test archived module graph with custom runtime image
2727
* @requires vm.cds.archived.java.heap
28+
* @requires vm.flagless
2829
* @library /test/jdk/lib/testlibrary /test/lib /test/hotspot/jtreg/runtime/cds/appcds
2930
* @build sun.hotspot.WhiteBox
3031
* @compile CheckArchivedModuleApp.java

test/hotspot/jtreg/runtime/cds/appcds/jcmd/JCmdTestDynamicDump.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
* @bug 8259070
2828
* @summary Test jcmd to dump dynamic shared archive.
2929
* @requires vm.cds
30+
* @requires vm.flagless
3031
* @library /test/lib /test/hotspot/jtreg/runtime/cds/appcds
3132
* @modules jdk.jcmd/sun.tools.common:+open
3233
* @compile ../test-classes/Hello.java JCmdTestDumpBase.java

0 commit comments

Comments
 (0)