Java Concurrency in Practice (Paperback)

Brian Goetz, Tim Peierls, Joshua Bloch, Joseph Bowbeer, David Holmes, Doug Lea

  • 出版商: Addison Wesley
  • 出版日期: 2006-05-01
  • 售價: $2,140
  • 貴賓價: 9.5$2,033
  • 語言: 英文
  • 頁數: 432
  • 裝訂: Paperback
  • ISBN: 0321349601
  • ISBN-13: 9780321349606
  • 相關分類: Java 程式語言
  • 立即出貨 (庫存 < 3)

買這商品的人也買了...

商品描述

"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


商品描述(中文翻譯)

「我非常幸運能夠與一個出色的團隊合作,在Java 5.0和Java 6中為Java平台設計和實現並行功能。現在,這個團隊提供了迄今為止對這些新功能以及並行性的最好解釋。並行性不再只是高級用戶的專題,每個Java開發人員都應該閱讀這本書。」
- Martin Buchholz
JDK並行性專家,Sun Microsystems

「在過去的30年中,計算機性能一直受到摩爾定律的推動;從現在開始,它將受到阿姆達爾定律的推動。編寫能夠有效利用多個處理器的代碼可能非常具有挑戰性。《Java Concurrency in Practice》為您提供了撰寫安全且可擴展的Java程序所需的概念和技術,以應對當今和未來的系統。」
- Doron Rajwan
研究科學家,Intel Corp

「如果您正在編寫、設計、調試、維護或思考多線程Java程序,那麼這本書是您所需的。如果您曾經不確定為什麼需要同步一個方法,您應該全面閱讀這本書,為自己和用戶負責。」
- Ted Neward
《Effective Enterprise Java》作者

「Brian以非凡的清晰度解決了並行性的基本問題和複雜性。這本書對於使用線程並關心性能的任何人來說都是必讀之作。」
- Kirk Pepperdine
CTO,JavaPerformanceTuning.com

「這本書以非常清晰簡潔的方式涵蓋了一個非常深奧的主題,成為完美的Java並行性參考手冊。每一頁都充滿了程序員每天都在努力解決的問題(和解決方案!)。有效利用並行性在摩爾定律提供更多核心但不提供更快核心的情況下變得越來越重要,而這本書將向您展示如何做到這一點。」
- Dr. Cliff Click
高級軟件工程師,Azul Systems

「我對並行性非常感興趣,可能比大多數程序員都寫過更多的線程死鎖並犯下更多的同步錯誤。Brian的這本書是關於Java線程和並行性最易讀的,並以出色的實踐方法處理這個困難的主題。這是我向《The Java Specialists' Newsletter》的所有讀者推薦的一本書,因為它有趣、有用,並與今天Java開發人員面臨的問題相關。」
- Dr. Heinz Kabutz
《The Java Specialists' Newsletter》

「我一直致力於簡化簡單問題的職業生涯,但這本書野心勃勃且有效地簡化了一個複雜但至關重要的主題:並行性。《Java Concurrency in Practice》在方法上是革命性的,風格流暢易懂,交付及時,這本書注定成為一本非常重要的書。」
- Bruce Tate
《Beyond Java》作者

「《Java Concurrency in Practice》是Java開發人員不可或缺的線程知識彙編。我發現閱讀這本書在智力上非常令人興奮,部分原因是它是對Java並行性API的優秀介紹,但更重要的是,它以全面且易於理解的方式捕捉了關於線程的專業知識,這在其他地方很難找到。」
- Bill Venners
《Inside the Java Virtual Machine》作者

「線程是Java平台的基礎組成部分。隨著多核處理器成為常態,有效使用並行性對於構建高性能應用程序至關重要。Java SE 5和6對於開發並行應用程序是一個巨大的飛躍,改進了Java虛擬機以支持高性能、高可擴展的並行類和豐富的新並行構建塊。在《Java Concurrency in Practice》中,這些新功能的創造者不僅解釋了它們的工作原理和使用方法,還解釋了動機和設計。」