aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Harold Seigel <hseigel@openjdk.org> 2021-04-15 12:19:47 +0000
committerGravatar Harold Seigel <hseigel@openjdk.org> 2021-04-15 12:19:47 +0000
commitb23dbdbdb32854a127be51a2d8ac7f241b5cec91 (patch)
treebcf3f9f328e0aad72d7d2bf77d0626606b014ed9
parent9d669c912d3977027f321a5e6b7f045ca2ce9482 (diff)
downloadjdk-b23dbdbdb32854a127be51a2d8ac7f241b5cec91.tar.gz
jdk-b23dbdbdb32854a127be51a2d8ac7f241b5cec91.zip
8257804: Test runtime/modules/ModuleStress/ModuleStressGC.java fails: 'package test defined in module jdk.test, exports list being walked' missing from stdout/stderr
Reviewed-by: dholmes
-rw-r--r--test/hotspot/jtreg/runtime/modules/ModuleStress/ModuleStressGC.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/hotspot/jtreg/runtime/modules/ModuleStress/ModuleStressGC.java b/test/hotspot/jtreg/runtime/modules/ModuleStress/ModuleStressGC.java
index 0d2180f8e28..1e34e715813 100644
--- a/test/hotspot/jtreg/runtime/modules/ModuleStress/ModuleStressGC.java
+++ b/test/hotspot/jtreg/runtime/modules/ModuleStress/ModuleStressGC.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -68,11 +68,11 @@ public class ModuleStressGC {
throw new RuntimeException("Test failed to compile module jdk.translet");
}
- // Sanity check that the test, jdk.test/test/MainGC.java,
- // correctly walks module jdk.test's reads list and package
- // test's, defined to module jdk.translet, export list at
- // GC safepoints.
+ // Check that jdk.test/test.MainGC walks module jdk.test's
+ // reads list and walks the exports list for package test,
+ // defined in module jdk.test, during a GC.
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(
+ "-Xmx128m",
"-Xlog:module=trace",
"-p", MODS_DIR.toString(),
"-m", "jdk.test/test.MainGC");