views:

134

answers:

5

I have gone through Head First Java and some other sites but I couldn't find complete stuff related to Threads and additional concurrency packages at one place.

Please suggest a book/website which covers complete Threads with more details like

  • Synchronize and locking of objects
  • More detailed about volatile
  • Visibility issues in Threads
  • java.util.concurrent package
  • java.util.concurrent.atomic package
+15  A: 

The must-read book about concurrent programming in Java is Java Concurrency in Practice.

Also see Concurrency in Sun's Java Tutorials.

Jesper
+2  A: 

You might find the Java Concurrency Refcard a useful aid along with Java Concurrency in Practice.

Alex Miller
A: 

Java Concurrency in Practice is great for coverage of the higher-level stuff in java.util.Concurrent, but if you want the authoritative answers on synchronized and volatile, you need to go to the source. No, not the source code, that would be insane. I mean the spec: Java Language Specification, Third Edition — Chapter 17: Threads and Locks

Or if you want it in book form: The Java™ Language Specification (3rd Edition)

jasonmp85
A: 

Java Threads is another good one :)

Alex N.
A: 

The Art of Multiprocessor Programming

Todor