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

Comparing jsr166/src/test/tck/ForkJoinPool8Test.java (file contents):
Revision 1.26 by jsr166, Sat Nov 1 16:02:23 2014 UTC vs.
Revision 1.27 by jsr166, Sat Nov 1 19:18:12 2014 UTC

# Line 1541 | Line 1541 | public class ForkJoinPool8Test extends J
1541       * timeout elapsed
1542       */
1543      public void testAwaitQuiescence2() throws Exception {
1544 +        /**
1545 +         * """It is possible to disable or limit the use of threads in the
1546 +         * common pool by setting the parallelism property to zero. However
1547 +         * doing so may cause unjoined tasks to never be executed."""
1548 +         */
1549 +        if ("0".equals(System.getProperty(
1550 +             "java.util.concurrent.ForkJoinPool.common.parallelism")))
1551 +            return;
1552          final ForkJoinPool p = new ForkJoinPool();
1553          try {
1554              assertTrue(p.isQuiescent());

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines