21. Concurrency and Multi-Core Performance
In this chapter you’ll:
Understand concurrency, parallelism and multithreading.
Learn the thread life cycle.
Use ExecutorService
to launch concurrent threads that execute Runnable
s.
Use synchronized
methods to coordinate access to shared mutable data.
Understand producer/consumer relationships. ...
Get Java 9 for Programmers now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.