- Paperback: 384 pages
- Publisher: Addison-Wesley Professional; 1 edition (May 19, 2006)
- Language: English
- ISBN-10: 0321349601
- ISBN-13: 978-0321349606
- Product Dimensions: 7 x 0.9 x 9.2 inches
- Shipping Weight: 1.4 pounds (View shipping rates and policies)
- Average Customer Review: 168 customer reviews
- Amazon Best Sellers Rank: #29,603 in Books (See Top 100 in Books)
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Java Concurrency in Practice 1st Edition
Use the Amazon App to scan ISBNs and compare prices.
The Amazon Book Review
Author interviews, book reviews, editors picks, and more. Read it now
Frequently bought together
Customers who bought this item also bought
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."
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."
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."
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."
"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."
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."
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.
Browse award-winning titles. See more
Top customer reviews
There was a problem filtering reviews right now. Please try again later.
What I like about this book is it's pragmatic but full of enough depth and advanced topics to have me re-reading it again and again. Yeah, there's basic ways to get the job done... create a cached thread pool with the right policy, some carefully designed classes, and some semaphores, and you're good to go! But he addresses those fringe topics when you need to specialize your concurrency goals and tweak things to be a certain way. I will probably be reading this book many times in the next few months until I have complete mastery over concurrency (and even then, that might be presumptuous to claim especially for a topic like concurrency).
Also, this book clarifies a lot of obscure semantic points in the threading classes (for example, the handling and "rethrowing" of interruptions) and open your eyes on subjects hidden in the specs that most developers will never read nor understand at all (like most thread visibility issues.)
With that foundation, the description of the Java 5's "util.concurrency" package is pretty solid; the book is not focused on the "how to use" (you can check the javadocs), but on the "why" of the several provided implementations, so you can deduce the "where" to apply them (the book's authors also participated in the design of those concurrency utilities.)
At risk of sounding repetitive, this book is a must read for any Java developer since most of them are currently involved directly or indirectly in MT programming (for example, inside a servlet environment.)
One of the things I liked in this book was that together with the good examples, it also shows pitfalls and problems. This is very important as knowing how to do it well is one thing, understanding where the problem is, is another. This book provides both.
Most recent customer reviews
This is not a taxonomic reference-like book that describes the Java Concurrency APIs either.Read more