4170 |
|
assertEquals(5 * 3 * n, count.get()); |
4171 |
|
} |
4172 |
|
|
4173 |
< |
/** ant -Dvmoptions=-Xmx8m -Djsr166.tckTestClass=CompletableFutureTest tck */ |
4174 |
< |
public void testCoCompletionGarbage() throws Throwable { |
4173 |
> |
/** ant -Dvmoptions=-Xmx8m -Djsr166.expensiveTests=true -Djsr166.tckTestClass=CompletableFutureTest tck */ |
4174 |
> |
public void testCoCompletionGarbageRetention() throws Throwable { |
4175 |
|
final int n = expensiveTests ? 1_000_000 : 10; |
4176 |
|
final CompletableFuture<Integer> incomplete = new CompletableFuture<>(); |
4177 |
|
CompletableFuture<Integer> f; |