4 of 4 people found the following review helpful
Up to date blueprints for writing multi-threaded apps.,
This review is from: Java Concurrency in Practice (Paperback)I would go so far as to say the authors have done a commendable job cracking a tough nut.
By reading the book you will be instilled with a set of blueprints that you can use to code multi-threaded apps and facilitate writing
threaded apps using the latest Java 5 and 6 classes.
Real life analogies were usually given to put problems into perspective at the outset of a new topic.
The book gave examples categorised into three groups. Good, bad and fragile stylised with a smiley, sad and indifferent faces.
For me seeing how not to code is equally valuable, lest you get caught with the same traps.
The book was broken down into four sections:
II Structuring Concurrent Applications
III Liveness, Perfomance & Testing
IV Advanced Topics
The book also has a good bibliography for further reading. I particularly found Hans Boehm's article excellent supplementary reading.
I particularly liked coverage of non-blocking synchronisation in chapter 15.
In contrast I found chapter 12 to be the most daunting to get to grips with (Testing Concurrent Apps). I found myself losing the thread in Listing 12-12! (Where a listing boils down to just a method! With undefined variable "barrier". barrier.await() is declared twice in succession! Huh? What's barrier?).
Thank heavens for section 12.4.2. / Findbugs.
jcip.net is the website where you can find the book source and errata.