File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
test/jdk/java/lang/ProcessBuilder Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 2323
2424/**
2525 * @test
26- * @bug 8024521
26+ * @bug 8024521 8315721
2727 * @summary Closing ProcessPipeInputStream at the time the process exits is racy
2828 * and leads to data corruption. Run this test manually (as
2929 * an ordinary java program) with -Xmx8M to repro bug 8024521.
3030 * @requires !vm.opt.final.ZGenerational
31+ * @comment Don't allow -Xcomp, it disturbs the timing
32+ * @requires (vm.compMode != "Xcomp")
3133 * @run main/othervm -Xmx8M -Dtest.duration=2 CloseRace
3234 */
3335
3436/**
3537 * @test
3638 * @comment Turn up heap size to lower amount of GCs
3739 * @requires vm.gc.Z & vm.opt.final.ZGenerational
40+ * @comment Don't allow -Xcomp, it disturbs the timing
41+ * @requires (vm.compMode != "Xcomp")
3842 * @run main/othervm -XX:+UseZGC -XX:+ZGenerational -Xmx32M -Dtest.duration=2 CloseRace
3943 */
4044
You can’t perform that action at this time.
0 commit comments