Java Concurrency in Practice and over 2 million other books are available for Amazon Kindle . Learn more


or
Sign in to turn on 1-Click ordering.
Trade in Yours
For a £9.50 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Colour:
Image not available

 
Start reading Java Concurrency in Practice on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Java Concurrency in Practice [Paperback]

Brian Goetz , Tim Peierls , Joshua Bloch , Joseph Bowbeer , David Holmes , Doug Lea
4.7 out of 5 stars  See all reviews (22 customer reviews)
RRP: £38.99
Price: £31.19 & FREE Delivery in the UK. Details
You Save: £7.80 (20%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In stock.
Dispatched from and sold by Amazon. Gift-wrap available.
Want it Friday, 3 Oct.? Choose Express delivery at checkout. Details

Formats

Amazon Price New from Used from
Kindle Edition £22.31  
Paperback £31.19  
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

Book Description

9 May 2006 0321349601 978-0321349606 1

"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



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: £84.77

Buy the selected items together


Product details

  • Paperback: 384 pages
  • Publisher: Addison Wesley; 1 edition (9 May 2006)
  • Language: English
  • ISBN-10: 0321349601
  • ISBN-13: 978-0321349606
  • Product Dimensions: 23.4 x 17.8 x 2.3 cm
  • Average Customer Review: 4.7 out of 5 stars  See all reviews (22 customer reviews)
  • Amazon Bestsellers Rank: 33,904 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Discover books, learn about writers, and more.

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
4.7 out of 5 stars
Most Helpful Customer Reviews
61 of 61 people found the following review helpful
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 ›
Was this review helpful to you?
8 of 8 people found the following review helpful
5.0 out of 5 stars great introduction to Java's concurrency API 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?
4 of 4 people found the following review helpful
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?
1 of 1 people found the following review helpful
5.0 out of 5 stars Highly Recommend for knowledge on multithreading 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?
5.0 out of 5 stars The Java multi-threading bible! 19 Oct 2008
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?
Would you like to see more reviews about this item?
Were these reviews helpful?   Let us know
Most Recent Customer Reviews
5.0 out of 5 stars Very helpful
Highly recommended.
Published 5 days ago by Kiryl Halinouski
5.0 out of 5 stars Clear and util
Easy to read and with very good tips.
Perfect to have a very good understanding of how to implement Java programs in a multi-threading environment.
Published 3 months ago by Paolo Cavanna
5.0 out of 5 stars Great read
I wanted to get my head around concurrency again as do not need it too much in my job. With this being a Joshua Bloch book and the fact I love Effective Java this was a must... Read more
Published 8 months ago by Mr. Alan C. Jennings
5.0 out of 5 stars One of the best books on Concurency
This book is very good. It explains the concepts in a very clear and decisive manner. I highly recommend it.
Published 11 months ago by Will
4.0 out of 5 stars By far the book on (new) Java concurrency
Very detailed and well constructed. It is the definitive guide on the new concurrency package and ways of designing concurrency system. Read more
Published 13 months ago by J O Odanmen
5.0 out of 5 stars Top class recommend to anyone serious about (Java concurrency)
Top class recommend to anyone serious about (Java concurrency)

(View tips and guidelines | 11 more words required. Read more
Published 19 months ago by M B TROUSDALE
5.0 out of 5 stars A must-have for any java programmer
For too long a lot of developers believed that concurrency was an area which only an expert could understand. Read more
Published 21 months ago by Andrew Gustafson
5.0 out of 5 stars One of the best Java books out there!
I found this book to be a very interesting read. It covers the threading/concurrency concepts quite in detail (& with real life analogies some times). Read more
Published on 7 July 2012 by Sandeep
5.0 out of 5 stars Valuable addition for the Java developer
This book is a "must have" for Java developers.

it introduces the concepts of concurrency, illustrates
how to apply them in practice and gives plenty of code... Read more
Published on 4 July 2012 by M. Hansen
4.0 out of 5 stars A reference to have handy all the time!
very well explained and practical. Not having it finished yet , already made use of what I learned in the book. It helped me to understand java concurrency much better.
Published on 8 Nov 2011 by H. Silatani
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Look for similar items by category


Feedback