See: Description
Interface | Description |
---|---|
ForkJoinPool.ForkJoinWorkerThreadFactory |
Factory for creating new
ForkJoinWorkerThread s. |
ForkJoinPool.ManagedBlocker |
Interface for extending managed parallelism for tasks running
in
ForkJoinPool s. |
Class | Description |
---|---|
ConcurrentMaps |
A place for static default implementations of the new Java 8
default interface methods and static interface methods in the
ConcurrentMap interface. |
CountedCompleter<T> |
A
ForkJoinTask with a completion action performed when
triggered and there are no remaining pending actions. |
ForkJoinPool |
An
ExecutorService for running ForkJoinTask s. |
ForkJoinTask<V> |
Abstract base class for tasks that run within a
ForkJoinPool . |
ForkJoinWorkerThread |
A thread managed by a
ForkJoinPool , which executes
ForkJoinTask s. |
RecursiveAction |
A recursive resultless
ForkJoinTask . |
RecursiveTask<V> |
A recursive result-bearing
ForkJoinTask . |
ThreadLocalRandom |
A random number generator isolated to the current thread.
|
synchronized
and volatile
constructs, as well as the
Thread.start()
and Thread.join()
methods, can form
happens-before relationships. In particular:
synchronized
block or method exit) of a
monitor happens-before every subsequent lock (synchronized
block or method entry) of that same monitor. And because
the happens-before relation is transitive, all actions
of a thread prior to unlocking happen-before all actions
subsequent to any thread locking that monitor.
volatile
field happens-before every
subsequent read of that same field. Writes and reads of
volatile
fields have similar memory consistency effects
as entering and exiting monitors, but do not entail
mutual exclusion locking.
start
on a thread happens-before any
action in the started thread.
join
on that thread.
Copyright © 2020. All rights reserved.