Skip to content

Commit bfe6fe2

Browse files
committed
8315721: CloseRace.java#id0 fails transiently on libgraal
Reviewed-by: rrich Backport-of: 1be355734da94243e29f0899b53aa1ebdf3bcb79
1 parent ae176b1 commit bfe6fe2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/jdk/java/lang/ProcessBuilder/CloseRace.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,12 @@
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.
30+
* @comment Don't allow -Xcomp, it disturbs the timing
31+
* @requires (vm.compMode != "Xcomp")
3032
* @run main/othervm -Xmx8M -Dtest.duration=2 CloseRace
3133
*/
3234

0 commit comments

Comments
 (0)