ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/CompletableFutureTest.java
(Generate patch)

Comparing jsr166/src/test/tck/CompletableFutureTest.java (file contents):
Revision 1.169 by jsr166, Mon Jul 18 17:42:35 2016 UTC vs.
Revision 1.170 by jsr166, Mon Jul 18 19:30:49 2016 UTC

# Line 4243 | Line 4243 | public class CompletableFutureTest exten
4243      }
4244  
4245      /**
4246 <     * Checks for garbage retention with anyOf.
4247 <     * Following used to fail with OOME:
4248 <     * ant -Dvmoptions=-Xmx8m -Djsr166.expensiveTests=true -Djsr166.tckTestClass=CompletableFutureTest -Djsr166.methodFilter=testAnyOfGarbageRetention tck
4246 >     * Reproduction recipe for:
4247 >     * 8160402: Garbage retention with CompletableFuture.anyOf
4248 >     * cvs update -D '2016-05-01' ./src/main/java/util/concurrent/CompletableFuture.java && ant -Dvmoptions=-Xmx8m -Djsr166.expensiveTests=true -Djsr166.tckTestClass=CompletableFutureTest -Djsr166.methodFilter=testAnyOfGarbageRetention tck; cvs update -A
4249       */
4250      public void testAnyOfGarbageRetention() throws Throwable {
4251          for (Integer v : new Integer[] { 1, null })

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines