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.102 by jsr166, Mon Jul 17 02:51:56 2006 UTC vs.
Revision 1.103 by jsr166, Mon Jul 17 03:11:03 2006 UTC

# Line 893 | Line 893 | public class ThreadPoolExecutor extends
893               * (to the thread's UncaughtExceptionHandler).  Any thrown
894               * exception also conservatively causes thread to die.
895               *
896 <             * 6. After run completes, we call afterExecute, which
896 >             * 6. After run completes, we call afterExecute, which
897               * may also throw an exception, which will also cause
898               * thread to die. According to JLS Sec 14.20, this exception
899               * is the one that will be in effect even if task.run throws.
# Line 1027 | Line 1027 | public class ThreadPoolExecutor extends
1027      /**
1028       * Removes an exiting worker thread from worker set, and
1029       * gathers its statistics. Additionally, this may:
1030 <     *  1. Cause termination if this is the last exiting thread
1030 >     *  1. Cause termination if this is the last exiting thread
1031       *     during shutdown, or
1032       *  2. Generate a replacement thread if there are any queued tasks
1033       *     and the pool is not shutting down.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines