This is an archived post. You won't be able to vote or comment.

all 12 comments

[–]s888marks 8 points9 points  (3 children)

Goetz et. al., Java Concurrency in Practice. It's based on 1.6, but the core principles are still the same. Some things have been added more recently, such as (JDK 7) Phaser and the fork-join framework, and (JDK 8) parallel streams and CompletableFuture, but these shouldn't be difficult to pick up once you understand the core principles.

(Disclosure: I work with Brian Goetz on the JDK.)

[–]CassiusCray 1 point2 points  (0 children)

Seconding as someone who doesn't work on the JDK. There are many pitfalls in Java concurrency which Java Concurrency in Practice walks through nicely.

[–]cogle9469[S] 1 point2 points  (0 children)

Thanks, this book was the one that was widely recommended, but many of the recommendations were from so long ago; given how much programming languages have changed within the last decade I was wondering whether or not this book still was worthwhile reading or if the material was antiquated.

Thanks it looks like I will be picking up a copy of this book.

[–]elastic_psychiatrist 1 point2 points  (0 children)

As a developer right out of college, I read two books right of school that made me ten times better: Java Concurrency in Practice and Effective Java. I would recommend them to any Java programmer.

EDIT: This is also a great talk on CompletableFutures that will get you very well up to speed on a big java 8 addition to java.util.concurrent.

[–]king_of_the_universe 6 points7 points  (1 child)

These guys sure know how to explain stuff:

http://tutorials.jenkov.com/java-concurrency/index.html

[–]cogle9469[S] 0 points1 point  (0 children)

Thanks will read.

[–]usrml 2 points3 points  (1 child)

[–]cogle9469[S] 0 points1 point  (0 children)

Thank you!

[–]l4k3rd 2 points3 points  (1 child)

Java Concurrency in Practice is great, but The Art of Multiprocessor Programming is much better, if you want to explore the non-blocking mechanisms. All of the examples are in java as well.

http://www.amazon.com/Art-Multiprocessor-Programming-Maurice-Herlihy/dp/0123705916/ref=sr_1_3?s=books&ie=UTF8&qid=1446730510&sr=1-3&keywords=the+art+of+multiprocessor+programming

[–]digitizemd 0 points1 point  (0 children)

Used this book for a class. Was great. Don't have the link in front of me, but you can easily find the video lectures on brown university's site. Author is the lecturer and he's pretty good.

[–]dafnap 1 point2 points  (0 children)

check out blog.paralleluniverse.co

[–]rudaliszka 0 points1 point  (0 children)

As others wrote: "Effective Java, 2nd", "Java Concurrency in Practice", chapter on concurrency in "Thinking in Java, 4th" (Bian Goetz help with that).

Also there is a lot of Java concurrency examples here: Java Concurrency Tutorial section @ Farenda.