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

Comparing jsr166/src/jsr166y/ForkJoinPool.java (file contents):
Revision 1.44 by dl, Tue Aug 4 11:44:33 2009 UTC vs.
Revision 1.45 by dl, Tue Aug 4 12:41:27 2009 UTC

# Line 804 | Line 804 | public class ForkJoinPool extends Abstra
804  
805      /**
806       * Returns the maximum number of threads allowed to exist in the
807 <     * pool.  Unless set using {@link #setMaximumPoolSize}, the
807 >     * pool. Unless set using {@link #setMaximumPoolSize}, the
808       * maximum is an implementation-defined value designed only to
809       * prevent runaway growth.
810       *
# Line 816 | Line 816 | public class ForkJoinPool extends Abstra
816  
817      /**
818       * Sets the maximum number of threads allowed to exist in the
819 <     * pool.  Setting this value has no effect on current pool
820 <     * size. It controls construction of new threads.
819 >     * pool. The given value should normally be greater than or equal
820 >     * to the {@link #getParallelism parallelism} level. Setting this
821 >     * value has no effect on current pool size. It controls
822 >     * construction of new threads.
823       *
824       * @throws IllegalArgumentException if negative or greater than
825       * internal implementation limit

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines