ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/ThreadPoolExecutor.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/ThreadPoolExecutor.java (file contents):
Revision 1.141 by jsr166, Tue Feb 5 19:54:06 2013 UTC vs.
Revision 1.142 by jsr166, Sun Feb 10 23:55:26 2013 UTC

# Line 61 | Line 61 | import java.util.*;
61   *
62   * <dt>On-demand construction</dt>
63   *
64 < * <dd> By default, even core threads are initially created and
64 > * <dd>By default, even core threads are initially created and
65   * started only when new tasks arrive, but this can be overridden
66   * dynamically using method {@link #prestartCoreThread} or {@link
67   * #prestartAllCoreThreads}.  You probably want to prestart threads if
# Line 168 | Line 168 | import java.util.*;
168   *
169   * <dt>Rejected tasks</dt>
170   *
171 < * <dd> New tasks submitted in method {@link #execute} will be
171 > * <dd>New tasks submitted in method {@link #execute} will be
172   * <em>rejected</em> when the Executor has been shut down, and also
173   * when the Executor uses finite bounds for both maximum threads and
174   * work queue capacity, and is saturated.  In either case, the {@code
# Line 219 | Line 219 | import java.util.*;
219   *
220   * <dt>Queue maintenance</dt>
221   *
222 < * <dd> Method {@link #getQueue} allows access to the work queue for
222 > * <dd>Method {@link #getQueue} allows access to the work queue for
223   * purposes of monitoring and debugging.  Use of this method for any
224   * other purpose is strongly discouraged.  Two supplied methods,
225   * {@link #remove} and {@link #purge} are available to assist in
# Line 228 | Line 228 | import java.util.*;
228   *
229   * <dt>Finalization</dt>
230   *
231 < * <dd> A pool that is no longer referenced in a program <em>AND</em>
231 > * <dd>A pool that is no longer referenced in a program <em>AND</em>
232   * has no remaining threads will be {@code shutdown} automatically. If
233   * you would like to ensure that unreferenced pools are reclaimed even
234   * if users forget to call {@link #shutdown}, then you must arrange

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines