Java 8 Concurrency API improvements
Table of Contents
Improvements with Java 8
A lot of improvements were added to the concurrency features with Java 8.
- Classes and interfaces have been added to the
java.util.concurrentpackage. - Methods have been added to the
java.util.concurrent.ConcurrentHashMapclass to support aggregate operations based on the newly added streams facility and lambda expressions. - Classes have been added to the
java.util.concurrent.atomicpackage to support scalable updatable variables. - Methods have been added to the
java.util.concurrent.ForkJoinPoolclass to support a common pool. - The
java.util.concurrent.locks.StampedLockclass has been added to provide a capability-based lock with three modes for controlling read/write access.