Skip to content

Commit c97f19a

Browse files
Amos ShiGoeLin
authored andcommitted
8272552: mark hotspot runtime/cds tests which ignore external VM flags
Reviewed-by: mdoerr Backport-of: 989f39f8106a22498053a4ca5f2becf8df5f2420
1 parent a4d416e commit c97f19a

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

test/hotspot/jtreg/runtime/SharedArchiveFile/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/SharedArchiveFile/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
* @modules java.base/jdk.internal.misc
3132
* java.management

test/hotspot/jtreg/runtime/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/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/appcds
2930
* @modules java.base/jdk.internal.module
3031
* java.management

0 commit comments

Comments
 (0)