From ec74194cb75afcaab2f77e8728391bb9104ccc73 Mon Sep 17 00:00:00 2001 From: Aleksey Shipilev Date: Wed, 20 Sep 2023 05:33:36 +0000 Subject: [PATCH] 8316546: Backout JDK-8315932: runtime/InvocationTests spend a lot of time on dependency verification Reviewed-by: dholmes --- .../hotspot/jtreg/runtime/InvocationTests/invocationC1Tests.java | 1 - .../jtreg/runtime/InvocationTests/invocationOldCHATests.java | 1 - .../jtreg/runtime/InvocationTests/invokeinterfaceTests.java | 1 - .../jtreg/runtime/InvocationTests/invokespecialTests.java | 1 - .../jtreg/runtime/InvocationTests/invokevirtualTests.java | 1 - 5 files changed, 5 deletions(-) diff --git a/test/hotspot/jtreg/runtime/InvocationTests/invocationC1Tests.java b/test/hotspot/jtreg/runtime/InvocationTests/invocationC1Tests.java index 4375521a037..a5fe4b2a148 100644 --- a/test/hotspot/jtreg/runtime/InvocationTests/invocationC1Tests.java +++ b/test/hotspot/jtreg/runtime/InvocationTests/invocationC1Tests.java @@ -72,7 +72,6 @@ public class invocationC1Tests { ", class file version: " + classFileVersion); ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-Xmx128M", "-Xcomp", "-XX:TieredStopAtLevel=1", - "-XX:MetaspaceSize=128K", "-XX:MaxMetaspaceSize=4M", "--add-exports", "java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED", whichTests, "--classfile_version=" + classFileVersion); OutputAnalyzer output = new OutputAnalyzer(pb.start()); diff --git a/test/hotspot/jtreg/runtime/InvocationTests/invocationOldCHATests.java b/test/hotspot/jtreg/runtime/InvocationTests/invocationOldCHATests.java index 68acc6f0bb1..2d4c2a38b21 100644 --- a/test/hotspot/jtreg/runtime/InvocationTests/invocationOldCHATests.java +++ b/test/hotspot/jtreg/runtime/InvocationTests/invocationOldCHATests.java @@ -69,7 +69,6 @@ public class invocationOldCHATests { ", class file version: " + classFileVersion); ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-Xmx128M", "-Xcomp", "-XX:+UnlockDiagnosticVMOptions", "-XX:-UseVtableBasedCHA", - "-XX:MetaspaceSize=128K", "-XX:MaxMetaspaceSize=4M", "--add-exports", "java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED", whichTests, "--classfile_version=" + classFileVersion); OutputAnalyzer output = new OutputAnalyzer(pb.start()); diff --git a/test/hotspot/jtreg/runtime/InvocationTests/invokeinterfaceTests.java b/test/hotspot/jtreg/runtime/InvocationTests/invokeinterfaceTests.java index 7113cb87613..9d8a164637e 100644 --- a/test/hotspot/jtreg/runtime/InvocationTests/invokeinterfaceTests.java +++ b/test/hotspot/jtreg/runtime/InvocationTests/invokeinterfaceTests.java @@ -75,7 +75,6 @@ public class invokeinterfaceTests { ", class file version: " + classFileVersion); ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-Xmx128M", option, "--add-exports", "java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED", - "-XX:MetaspaceSize=128K", "-XX:MaxMetaspaceSize=4M", "invokeinterface.Generator", "--classfile_version=" + classFileVersion); OutputAnalyzer output = new OutputAnalyzer(pb.start()); try { diff --git a/test/hotspot/jtreg/runtime/InvocationTests/invokespecialTests.java b/test/hotspot/jtreg/runtime/InvocationTests/invokespecialTests.java index 5f5d64060ec..564f83d822e 100644 --- a/test/hotspot/jtreg/runtime/InvocationTests/invokespecialTests.java +++ b/test/hotspot/jtreg/runtime/InvocationTests/invokespecialTests.java @@ -72,7 +72,6 @@ public class invokespecialTests { ", class file version: " + classFileVersion); ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-Xmx128M", option, "--add-exports", "java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED", - "-XX:MetaspaceSize=128K", "-XX:MaxMetaspaceSize=4M", "invokespecial.Generator", "--classfile_version=" + classFileVersion); OutputAnalyzer output = new OutputAnalyzer(pb.start()); try { diff --git a/test/hotspot/jtreg/runtime/InvocationTests/invokevirtualTests.java b/test/hotspot/jtreg/runtime/InvocationTests/invokevirtualTests.java index f5f700e9fd6..9cc19b6081c 100644 --- a/test/hotspot/jtreg/runtime/InvocationTests/invokevirtualTests.java +++ b/test/hotspot/jtreg/runtime/InvocationTests/invokevirtualTests.java @@ -72,7 +72,6 @@ public class invokevirtualTests { ", class file version: " + classFileVersion); ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-Xmx128M", option, "--add-exports", "java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED", - "-XX:MetaspaceSize=128K", "-XX:MaxMetaspaceSize=4M", "invokevirtual.Generator", "--classfile_version=" + classFileVersion); OutputAnalyzer output = new OutputAnalyzer(pb.start()); try {