What’s in This Book?

This book will help us explore and learn about three separate concurrency solutions—the modern Java JDK concurrency model, the Software Transactional Memory (STM), and the actor-based concurrency model.

This book is divided into five parts: Strategies for Concurrency, Modern Java/JDK Concurrency, Software Transactional Memory, Actor-Based Concurrency, and an epilogue.

In Chapter 1, The Power and Perils of Concurrency, we will discuss what makes concurrency so useful and the reasons why it’s so hard to get it right. This chapter will set the stage for the three concurrency models we’ll explore in this book.

Before we dive into these solutions, in Chapter 2, Division of Labor we’ll try to understand what affects concurrency ...

Get Programming Concurrency on the JVM 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.