21. Concurrency and Multi-Core Performance


In this chapter you’ll:

Image Understand concurrency, parallelism and multithreading.

Image Learn the thread life cycle.

Image Use ExecutorService to launch concurrent threads that execute Runnables.

Image Use synchronized methods to coordinate access to shared mutable data.

Understand producer/consumer relationships. ...

Get Java® 9 for Programmers, Fourth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.