Skip to content

Latest commit

 

History

History
52 lines (33 loc) · 1.94 KB

File metadata and controls

52 lines (33 loc) · 1.94 KB

concurrency

Link

Increased reliability

Developing concurrent classes is difficult -- the low-level concurrency primitives provided by the Java language (synchronized, volatile, wait(), notify(), and notifyAll()) are difficult to use correctly, and errors using these facilities can be difficult to detect and debug. By using standardized, extensively tested concurrency building blocks, many potential sources of threading hazards such as deadlock, starvation, race conditions, or excessive context switching are eliminated. The concurrency utilities were carefully audited for deadlock, starvation, and race conditions.

Task scheduling framework

Fork/join framework

Concurrent collections

Atomic variables

Synchronizers

General purpose synchronization classes, including semaphores, barriers, latches, phasers, and exchangers, facilitate coordination between threads.

Locks

Nanosecond-granularity timing