16 |
|
import java.util.WeakHashMap; |
17 |
|
|
18 |
|
/** |
19 |
< |
* Abstract base class for tasks that run within a {@link |
20 |
< |
* ForkJoinPool}. A ForkJoinTask is a thread-like entity that is much |
19 |
> |
* Abstract base class for tasks that run within a {@link ForkJoinPool}. |
20 |
> |
* A {@code ForkJoinTask} is a thread-like entity that is much |
21 |
|
* lighter weight than a normal thread. Huge numbers of tasks and |
22 |
|
* subtasks may be hosted by a small number of actual threads in a |
23 |
|
* ForkJoinPool, at the price of some usage limitations. |