Skip to content

Commit 6cc7fc7

Browse files
rm-gh-8Victor Rudometov
authored andcommitted
8367278: Test compiler/startup/StartupOutput.java timed out after completion on Windows
Backport-of: a355edb
1 parent 600659d commit 6cc7fc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/hotspot/jtreg/compiler/startup/StartupOutput.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public static void main(String[] args) throws Exception {
6464
// On s390x, generated code is ~6x larger in fastdebug and ~1.4x in release builds vs. other archs,
6565
// hence we require slightly more minimum space.
6666
int minInitialSize = 800 + (Platform.isS390x() ? 800 : 0);
67-
for (int i = 0; i < 200; i++) {
67+
for (int i = 0; i < 50; i++) {
6868
int initialCodeCacheSizeInKb = minInitialSize + rand.nextInt(400);
6969
int reservedCodeCacheSizeInKb = initialCodeCacheSizeInKb + rand.nextInt(200);
7070
pb = ProcessTools.createLimitedTestJavaProcessBuilder("-XX:InitialCodeCacheSize=" + initialCodeCacheSizeInKb + "K", "-XX:ReservedCodeCacheSize=" + reservedCodeCacheSizeInKb + "k", "-version");

0 commit comments

Comments
 (0)