DeepRead
Cover of Java Concurrency in Practice

About the book

Java Concurrency in Practice covers how to write correct multithreaded Java programs, from the basics of thread safety and shared mutable state through task execution, cancellation, and thread pools. It also covers the building blocks in java.util.concurrent, explicit locks and atomic variables, performance and testing of concurrent code, and the Java Memory Model. The book's central claim is that thread safety comes from managing access to mutable state, not from luck or from ad hoc reasoning about timing. It argues that developers should rely on encapsulation, immutability, and clearly documented synchronization policies, and should prefer well-tested library classes to home-built concurrency. It treats safe publication, cancellation, and shutdown as design concerns to plan for from the start, not as afterthoughts.

Written by Claude from what it knows of this book.

What Hacker News says 73% recommend · 3% critical

051020092015202020262020 peak · 9
This bookAverage book in Programming classics and Java

In the commenters’ own words

What Open Library readers say 4.25 from 8 ratings

  1. 54
  2. 42
  3. 32
  4. 20
  5. 10
  • 34 want to read
  • 3 reading
  • 10 have read

Only 8 ratings: treat the average as a hint.

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

The threads it came up in

Details

First published
2006
ISBN
9780321349606
Editions known
6 at Open Library
Open Library
OL16512736W

Java (Computer program language)Java (computer program language)Parallel programming (Computer science)Parallel programming (computer science)Threads (Computer programs)Threads (computer programs)concurrencyjava programming languagenon-fictionprogramming

Explore in the mosaic

Read next: its neighbours on the mosaic

  • Effective Java
    Joshua Bloch · 2001 · recommended by 172 people · 18 people recommended both
  • Java puzzlers
    Joshua Bloch · 2005 · recommended by 12 people · 2 people recommended both
  • Domain-Driven Design
    Eric Evans · 2003 · recommended by 104 people · 5 people recommended both
  • Head First design patterns
    Eric Freeman · 2004 · recommended by 65 people · 3 people recommended both
  • Effective C++
    Scott Meyers · 1991 · recommended by 112 people · 3 people recommended both
  • Java 8 in Action
    Raoul-Gabriel Urma · 2014 · recommended by 4 people · similar by subject and what people say about it
  • Clean Code
    Robert C. Martin · 2008 · recommended by 298 people · 4 people recommended both
  • The art of multiprocessor programming
    Maurice Herlihy · 2008 · recommended by 27 people · similar by subject and what people say about it
  • Accelerated C++
    Andrew Koenig · 2000 · recommended by 47 people · similar by subject and what people say about it
  • Programming interviews exposed
    John Mongan · 2007 · recommended by 29 people · 2 people recommended both
  • Head first Java
    Kathy Sierra · 2003 · recommended by 27 people · similar by subject and what people say about it
  • Compilers, principles, techniques, and tools
    Alfred V. Aho · 1986 · recommended by 195 people · 5 people recommended both
  • Thinking in Java
    Bruce Eckel · 1997 · recommended by 28 people · similar by subject and what people say about it
  • Parallel And Concurrent Programming In Haskell
    Simon Marlow · 2013 · recommended by 24 people · similar by subject and what people say about it
  • The Practice of Programming
    Brian W. Kernighan · 1999 · recommended by 90 people · similar by subject and what people say about it
  • C Concurrency in Action
    Anthony Williams · 2012 · recommended by 14 people · similar by subject and what people say about it
  • Core Java
    Cay S. Horstmann · 2008 · recommended by 4 people · similar by subject and what people say about it
  • Concurrent Programming in Java
    Doug Lea · 1999 · recommended by 1 person · similar by subject and what people say about it
  • Practical Java
    Peter Haggar · 2000 · recommended by 1 person · similar by subject and what people say about it
  • Concurrency in Go
    Katherine Cox-Buday · 2017 · recommended by 3 people · similar by subject and what people say about it
  • Growing object-oriented software
    Steve Freeman · 2009 · recommended by 16 people · similar by subject and what people say about it
  • Programming Erlang
    Joe Armstrong · 2008 · recommended by 69 people · similar by subject and what people say about it
  • Advanced programming in the Unix environment
    W. Richard Stevens · 1992 · recommended by 100 people · 3 people recommended both
  • Code Complete
    Steve McConnell · 1993 · recommended by 393 people · 3 people recommended both