Skip to content

Commit ae75ca0

Browse files
committed
8314842: zgc/genzgc tests ignore vm flags
Reviewed-by: tschatzl, lmesnik
1 parent 5e5942a commit ae75ca0

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

test/hotspot/jtreg/gc/x/TestAllocateHeapAt.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public static void main(String[] args) throws Exception {
4141
final String heapBackingFile = "Heap Backing File: " + directory;
4242
final String failedToCreateFile = "Failed to create file " + directory;
4343

44-
ProcessTools.executeLimitedTestJava(
44+
ProcessTools.executeTestJava(
4545
"-XX:+UseZGC",
4646
"-XX:-ZGenerational",
4747
"-Xlog:gc*",

test/hotspot/jtreg/gc/x/TestPageCacheFlush.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public static void main(String[] args) throws Exception {
6868
}
6969

7070
public static void main(String[] args) throws Exception {
71-
ProcessTools.executeLimitedTestJava(
71+
ProcessTools.executeTestJava(
7272
"-XX:+UseZGC",
7373
"-XX:-ZGenerational",
7474
"-Xms128M",

test/hotspot/jtreg/gc/x/TestSmallHeap.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public static void main(String[] args) throws Exception {
5353

5454
public static void main(String[] args) throws Exception {
5555
for (var maxCapacity: args) {
56-
ProcessTools.executeLimitedTestJava(
56+
ProcessTools.executeTestJava(
5757
"-XX:+UseZGC",
5858
"-XX:-ZGenerational",
5959
"-Xlog:gc,gc+init,gc+reloc,gc+heap",

test/hotspot/jtreg/gc/z/TestAllocateHeapAt.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public static void main(String[] args) throws Exception {
4141
final String heapBackingFile = "Heap Backing File: " + directory;
4242
final String failedToCreateFile = "Failed to create file " + directory;
4343

44-
ProcessTools.executeLimitedTestJava(
44+
ProcessTools.executeTestJava(
4545
"-XX:+UseZGC",
4646
"-XX:+ZGenerational",
4747
"-Xlog:gc*",

test/hotspot/jtreg/gc/z/TestPageCacheFlush.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public static void main(String[] args) throws Exception {
6868
}
6969

7070
public static void main(String[] args) throws Exception {
71-
ProcessTools.executeLimitedTestJava(
71+
ProcessTools.executeTestJava(
7272
"-XX:+UseZGC",
7373
"-XX:+ZGenerational",
7474
"-Xms128M",

test/hotspot/jtreg/gc/z/TestSmallHeap.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public static void main(String[] args) throws Exception {
5353

5454
public static void main(String[] args) throws Exception {
5555
for (var maxCapacity: args) {
56-
ProcessTools.executeLimitedTestJava(
56+
ProcessTools.executeTestJava(
5757
"-XX:+UseZGC",
5858
"-XX:+ZGenerational",
5959
"-Xlog:gc,gc+init,gc+reloc,gc+heap",

0 commit comments

Comments
 (0)