CARVIEW |
Select Language
HTTP/1.1 200 OK
Server: AkamaiNetStorage
Content-Type: text/html
ETag: "a23a3f58e2df9e1af352e4bb5f30d2da:1595392489.112011"
Vary: Accept-Encoding
Content-Encoding: gzip
Cache-Control: max-age=21600
Date: Wed, 23 Jul 2025 22:22:34 GMT
Content-Length: 2010
Connection: keep-alive
Concurrency Utilities Enhancements in Java SE 7
Concurrency Utilities Enhancements in Java SE 7
The fork/join framework, which is based on the ForkJoinPool
class,
is an implementation of the Executor
interface. It is designed to efficiently run a large number of tasks using a pool of
worker threads. A work-stealing technique is used to
keep all the worker threads busy, to take full advantage of
multiple processors. See Fork/Join in The Java Tutorials. The directory <Java home>/sample/forkjoin/
contains samples that demonstrate the fork/join framework.
The ThreadLocalRandom
class eliminates contention among threads using
pseudo-random numbers; see
Concurrent Random Numbers.
The Phaser
class is
a new synchronization barrier, similar to CyclicBarrier
.