New year Bundle Shop now Learn more Shop now Clothing Shoes & Bags Jewellery Watches Up to 50% off Fashion Cloud Drive Photos Shop now Shop Amazon Fire Phone Shop Amazon Fire TV Shop now DIYWE rs3 rs3 rs3 Shop Fire HD 7 Shop Kindle Voyage Shop now Learn more Shop now
Java Concurrency in Practice and over 2 million other books are available for Amazon Kindle . Learn more
£27.64
  • RRP: £36.99
  • You Save: £9.35 (25%)
FREE Delivery in the UK.
Only 9 left in stock (more on the way).
Dispatched from and sold by Amazon.
Gift-wrap available.
Quantity:1
Trade in your item
Get a £9.50
Gift Card.
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See all 2 images

Java Concurrency in Practice Paperback – 9 May 2006


See all 3 formats and editions Hide other formats and editions
Amazon Price New from Used from
Kindle Edition
"Please retry"
Paperback
"Please retry"
£27.64
£20.54 £17.14

Trade In Promotion


Frequently Bought Together

Java Concurrency in Practice + Effective Java: Second Edition + Clean Code: A Handbook of Agile Software Craftsmanship (Robert C. Martin)
Price For All Three: Â£76.52

Buy the selected items together


Trade In this Item for up to £9.50
Trade in Java Concurrency in Practice for an Amazon Gift Card of up to £9.50, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Learn more

Product details

  • Paperback: 384 pages
  • Publisher: Addison Wesley; 1 edition (9 May 2006)
  • Language: English
  • ISBN-10: 0321349601
  • ISBN-13: 978-0321349606
  • Product Dimensions: 17.8 x 2.5 x 23.1 cm
  • Average Customer Review: 4.7 out of 5 stars  See all reviews (23 customer reviews)
  • Amazon Bestsellers Rank: 31,402 in Books (See Top 100 in Books)
  •  Would you like to update product info, give feedback on images, or tell us about a lower price?

  • See Complete Table of Contents

Product Description

From the Back Cover

"I was fortunate indeed to have worked with a fantastic team on the design and implementation of the concurrency features added to the Java platform in Java 5.0 and Java 6. Now this same team provides the best explanation yet of these new features, and of concurrency in general. Concurrency is no longer a subject for advanced users only. Every Java developer should read this book."
--Martin Buchholz
JDK Concurrency Czar, Sun Microsystems

"For the past 30 years, computer performance has been driven by Moore's Law; from now on, it will be driven by Amdahl's Law. Writing code that effectively exploits multiple processors can be very challenging. Java Concurrency in Practice provides you with the concepts and techniques needed to write safe and scalable Java programs for today's--and tomorrow's--systems."
--Doron Rajwan
Research Scientist, Intel Corp

"This is the book you need if you're writing--or designing, or debugging, or maintaining, or contemplating--multithreaded Java programs. If you've ever had to synchronize a method and you weren't sure why, you owe it to yourself and your users to read this book, cover to cover."
--Ted Neward
Author of Effective Enterprise Java

"Brian addresses the fundamental issues and complexities of concurrency with uncommon clarity. This book is a must-read for anyone who uses threads and cares about performance."
--Kirk Pepperdine
CTO, JavaPerformanceTuning.com

"This book covers a very deep and subtle topic in a very clear and concise way, making it the perfect Java Concurrency reference manual. Each page is filled with the problems (and solutions!) that programmers struggle with every day. Effectively exploiting concurrency is becoming more and more important now that Moore's Law is delivering more cores but not faster cores, and this book will show you how to do it."
--Dr. Cliff Click
Senior Software Engineer, Azul Systems

"I have a strong interest in concurrency, and have probably written more thread deadlocks and made more synchronization mistakes than most programmers. Brian's book is the most readable on the topic of threading and concurrency in Java, and deals with this difficult subject with a wonderful hands-on approach. This is a book I am recommending to all my readers of The Java Specialists' Newsletter, because it is interesting, useful, and relevant to the problems facing Java developers today."
--Dr. Heinz Kabutz
The Java Specialists' Newsletter

"I've focused a career on simplifying simple problems, but this book ambitiously and effectively works to simplify a complex but critical subject: concurrency. Java Concurrency in Practice is revolutionary in its approach, smooth and easy in style, and timely in its delivery--it's destined to be a very important book."
--Bruce Tate
Author of Beyond Java

"Java Concurrency in Practice is an invaluable compilation of threading know-how for Java developers. I found reading this book intellectually exciting, in part because it is an excellent introduction to Java's concurrency API, but mostly because it captures in a thorough and accessible way expert knowledge on threading not easily found elsewhere."
--Bill Venners
Author of Inside the Java Virtual Machine

Threads are a fundamental part of the Java platform. As multicore processors become the norm, using concurrency effectively becomes essential for building high-performance applications. Java SE 5 and 6 are a huge step forward for the development of concurrent applications, with improvements to the Java Virtual Machine to support high-performance, highly scalable concurrent classes and a rich set of new concurrency building blocks. In Java Concurrency in Practice, the creators of these new facilities explain not only how they work and how to use them, but also the motivation and design patterns behind them.

However, developing, testing, and debugging multithreaded programs can still be very difficult; it is all too easy to create concurrent programs that appear to work, but fail when it matters most: in production, under heavy load. Java Concurrency in Practice arms readers with both the theoretical underpinnings and concrete techniques for building reliable, scalable, maintainable concurrent applications. Rather than simply offering an inventory of concurrency APIs and mechanisms, it provides design rules, patterns, and mental models that make it easier to build concurrent programs that are both correct and performant.

This book covers:

  • Basic concepts of concurrency and thread safety
  • Techniques for building and composing thread-safe classes
  • Using the concurrency building blocks in java.util.concurrent
  • Performance optimization dos and don'ts
  • Testing concurrent programs
  • Advanced topics such as atomic variables, nonblocking algorithms, and the Java Memory Model


About the Author

Brian Goetz is a software consultant with twenty years industry experience, with over 75 articles on Java development. He is one of the primary members of the Java Community Process JSR 166 Expert Group (Concurrency Utilities), and has served on numerous other JCP Expert Groups.

Tim Peierls is the very model of a modern multiprocessor, with BoxPop.biz, recording arts, and goings on theatrical. He is one of the primary members of the Java Community Process JSR 166 Expert Group (Concurrency Utilities), and has served on numerous other JCP Expert Groups.

Joshua Bloch is a principal engineer at Google and a Jolt Award-winner. He was previously a distinguished engineer at Sun Microsystems and a senior systems designer at Transarc. Josh led the design and implementation of numerous Java platform features, including JDK 5.0 language enhancements and the award-winning Java Collections Framework. He holds a Ph.D. in computer science from Carnegie Mellon University.

Joseph Bowbeer is a software architect at Vizrea Corporation where he specializes in mobile application development for the Java ME platform, but his fascination with concurrent programming began in his days at Apollo Computer. He served on the JCP Expert Group for JSR-166 (Concurrency Utilities).

David Holmes is director of DLTeCH Pty Ltd, located in Brisbane, Australia. He specializes in synchronization and concurrency and was a member of the JSR-166 expert group that developed the new concurrency utilities. He is also a contributor to the update of the Real-Time Specification for Java, and has spent the past few years working on an implementation of that specification.

Doug Lea is one of the foremost experts on object-oriented technology and software reuse. He has been doing collaborative research with Sun Labs for more than five years. Lea is Professor of Computer Science at SUNY Oswego, Co-director of the Software Engineering Lab at the New York Center for Advanced Technology in Computer Applications, and Adjunct Professor of Electrical and Computer Engineering at Syracuse University. In addition, he co-authored the book, Object-Oriented System Development (Addison-Wesley, 1993). He received his B.A., M.A., and Ph.D. from the University of New Hampshire.




Inside This Book (Learn More)
First Sentence
Writing correct programs is hard; writing correct concurrent programs is harder. Read the first page
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index
Search inside this book:

Customer Reviews

4.7 out of 5 stars
Share your thoughts with other customers

Most Helpful Customer Reviews

61 of 61 people found the following review helpful By Thing with a hook on 7 Aug 2006
Format: Paperback
Concurrency is hard and boring. Unfortunately, my favoured technique of ignoring it and hoping it will go away doesn't look like it's going to bear fruit. Fortunately, Java 5.0 introduced a new bunch of concurrency utilities, that work at a higher level of abstraction than marking blocks as synchronized and fields as volatile. Unfortunately, there haven't been that many books on the subject - even the good Java 5.0 books (e.g. Head First Java or Agile Java) make little mention of them - Thinking in Java being an honourable exception. Fortunately, JCIP is here, and it is authoritative stuff. And it's (mostly) very easy to understand. Plus, at 350 pages, it's not an enormous chore to slog through. It even covers changes to the upcoming Java 6.

Before tackling this book, you should have at least some idea of pre-Java 5.0 concurrency. You don't need to be a threading master, though, as the first part of the book covers basics like deadlock, atomicity and liveness. This was my favourite part of the book, as it comes with lots of small code snippets, both right and (horribly) wrong, and pithy design guidelines. It's rather like Effective Java in that respect - although the material on threading was probably the weakest part of that book, so this is a definite improvement.

The second part deals with thread pools, cancellation strategies, and GUIs. This is also excellent. Part three covers performance and testing. The last 75 pages are for advanced users and goes into a fair amount of low level detail (including a discussion of the Java Memory Model), which may be of interest to experts only.

I would be lying if I said that reading this book will demystify concurrency completely.
Read more ›
1 Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
8 of 8 people found the following review helpful By Lo in Londinium on 28 Jun 2007
Format: Paperback Verified Purchase
If you are serious about java development you know you can't ignore threads.

Yet, so many skilled developers incredibly passionate about object orientation seem uneasy when confronted with threading-issues.

Is i++ an atomic operation ? Have you ever heard of CopyOnWriteArrayList ?

Do you know how to deal with InterruptedException ?

This is a very readable book which will make sure not only that your code will not deadlock but that you know why.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
4 of 4 people found the following review helpful By Mr. Jeremy Flowers on 8 Mar 2009
Format: 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:
I Fundamentals
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.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
1 of 1 people found the following review helpful By G. Krishnan on 15 Jun 2010
Format: Paperback
This book is definitely a very useful one for people who seek to know more about multithreading in java 1.6

Gives a good introduction. To get the max out of this book one should go slow and practice whats being said when you finish a chapter, otherwise it is very easy to forget / lose what you just read a couple of chapters back.

Could have been printed on a little larger font. One has to read a lot more text in this book than other java programming books.

Most of the chapters are around 20-25 pages. Hence i would recommended you have atleast a couple of hours for each sitting to read this book.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
Format: Paperback Verified Purchase
Just few words...Buy this book! This is one of the best IT-related books I've ever read and indeed one of the best Java books. With an easy-to-read yet thorough 360 degrees approach to concurrency in Java, this book unveils all aspects of Java concurrency, from the basic concepts to advanced ones. Not only it provides an unprecedented bibliography for Java concurrency, but it goes beyond, explaining you concepts such as thread stacks, context switching, the best Java concurrent collections for the job, performance tuning, how to test concurrency programs, etc. By the end of this book I was writing efficient multi-threading applications for investment banking applications. And they worked very well.

M.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Most Recent Customer Reviews



Feedback