Chapter 9. Diving into Concurrent Data Structures and Synchronization Utilities

Among of the most important elements in every computer program are data structures. Data structures allow us to store the data that our applications read, transform, and write in different ways according to our needs. The selection of an adequate data structure is a critical point to get good performance. A bad choice can degrade the performance of an algorithm considerably. Java concurrency API includes some data structures designed to be used in concurrent applications without provoking data inconsistencies or loss of information.

Another critical point in concurrent applications are synchronization mechanisms. You use them to implement mutual exclusion by creating ...

Get Mastering Concurrency Programming with Java 8 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.