Concurrency in Java

Programs that do many things at once: threads, synchronization, the java.util.concurrent library, executors, futures, virtual threads and common pitfalls.

JAVA-240 Year 2 3 credits 12 lessons planned ▶ Video lessons coming soon

Offered by HSM University · Java Programming

Course content

  1. 1Why concurrency mattersComing
  2. 2Threads and the thread life cycleComing
  3. 3Race conditions and synchronizationComing
  4. 4Locks and atomic variablesComing
  5. 5Thread-safe collectionsComing
  6. 6Executors and thread poolsComing
  7. 7Futures and CompletableFutureComing
  8. 8Virtual threadsComing
  9. 9Deadlock, livelock and starvationComing
  10. 10Producer-consumer patternsComing
  11. 11Testing and debugging concurrent codeComing
  12. 12Capstone: a concurrent order processorComing

Requirements

Recommended background. You can start any course at any time.

Description

Programs that do many things at once: threads, synchronization, the java.util.concurrent library, executors, futures, virtual threads and common pitfalls.

Part of the Information Technology stream, typically taken in year 2.