Skip to content

Commit f22a912

Browse files
Roman Marchenkoshipilev
authored andcommitted
8372860: TestCodeCacheUnloadDuringConcCycle fails on ARM32
8373429: gc/g1/TestCodeCacheUnloadDuringConcCycle fails on various platforms Reviewed-by: shade Backport-of: 6a6ff876c515eba6cc89320e02dc5739d4540316
1 parent 80119e1 commit f22a912

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/hotspot/jtreg/gc/g1/TestCodeCacheUnloadDuringConcCycle.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@
5353
import java.util.regex.Pattern;
5454

5555
import jdk.test.lib.Asserts;
56+
import jdk.test.lib.Platform;
5657
import jdk.test.lib.process.OutputAnalyzer;
5758
import jdk.test.lib.process.ProcessTools;
58-
import static jdk.test.lib.Asserts.*;
5959
import jdk.test.whitebox.WhiteBox;
6060

6161
public class TestCodeCacheUnloadDuringConcCycle {
@@ -70,9 +70,10 @@ private static OutputAnalyzer runTest(String concPhase) throws Exception {
7070
"-Xbootclasspath/a:.",
7171
"-Xlog:gc=trace,codecache",
7272
"-XX:+WhiteBoxAPI",
73-
"-XX:ReservedCodeCacheSize=8M",
73+
"-XX:ReservedCodeCacheSize=" + (Platform.is32bit() ? "4M" : "8M"),
7474
"-XX:StartAggressiveSweepingAt=50",
7575
"-XX:CompileCommand=compileonly,gc.g1.SomeClass::*",
76+
"-XX:CompileCommand=compileonly,gc.g1.Foo*::*",
7677
TestCodeCacheUnloadDuringConcCycleRunner.class.getName(),
7778
concPhase);
7879
return output;

0 commit comments

Comments
 (0)