Java Concurrency in Practice (Paperback)
暫譯: Java 並發實務 (平裝本)

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

  • 出版商: Addison Wesley
  • 出版日期: 2006-05-01
  • 售價: $2,200
  • 貴賓價: 9.5$2,090
  • 語言: 英文
  • 頁數: 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 平台的併發特性,這些特性在 Java 5.0 和 Java 6 中推出。現在,這個團隊提供了對這些新特性以及併發的一般性最佳解釋。併發不再僅僅是進階使用者的主題。每位 Java 開發者都應該閱讀這本書。」
--馬丁·布赫霍茲
JDK 併發專家,Sun Microsystems

「在過去的 30 年中,計算機性能一直受到摩爾定律的驅動;從現在開始,它將受到安達爾定律的驅動。編寫有效利用多處理器的代碼可能非常具有挑戰性。Java Concurrency in Practice 為您提供了編寫安全且可擴展的 Java 程式所需的概念和技術,適用於今天和明天的系統。」
--多倫·拉吉萬
研究科學家,英特爾公司

「如果您正在編寫、設計、調試、維護或考慮多執行緒的 Java 程式,那麼這本書就是您所需要的。如果您曾經需要同步一個方法卻不確定為什麼,那麼您應該為自己和您的用戶閱讀這本書,從頭到尾。」
--泰德·紐瓦德
Effective Enterprise Java 的作者

「布萊恩以不尋常的清晰度處理了併發的基本問題和複雜性。這本書是任何使用執行緒並關心性能的人的必讀之作。」
--柯克·佩珀丁
CTO,JavaPerformanceTuning.com

「這本書以非常清晰和簡潔的方式涵蓋了一個非常深奧和微妙的主題,使其成為完美的 Java 併發參考手冊。每一頁都充滿了程序員每天面臨的問題(和解決方案!)。隨著摩爾定律帶來更多核心但不更快的核心,有效利用併發變得越來越重要,而這本書將告訴您如何做到。」
--克里夫·克利克博士
高級軟體工程師,Azul Systems

「我對併發有濃厚的興趣,可能寫過的執行緒死鎖和同步錯誤比大多數程序員還要多。布萊恩的書是關於 Java 中執行緒和併發主題中最易讀的,並以出色的實踐方法處理這一困難主題。這是我推薦給所有《Java Specialists' Newsletter》讀者的書,因為它有趣、有用,並且與當今 Java 開發者面臨的問題相關。」
--海因茨·卡布茨博士
The Java Specialists' Newsletter

「我在簡化簡單問題上專注了整個職業生涯,但這本書雄心勃勃且有效地致力於簡化一個複雜但關鍵的主題:併發。Java Concurrency in Practice 在其方法上具有革命性,風格流暢易懂,並且及時交付——它注定會成為一本非常重要的書。」
--布魯斯·泰特
Beyond Java 的作者

Java Concurrency in Practice 是 Java 開發者不可或缺的執行緒知識彙編。我發現閱讀這本書在智力上令人興奮,部分原因是它是 Java 併發 API 的絕佳介紹,但主要是因為它以全面且易於理解的方式捕捉了不易在其他地方找到的專家知識。」
--比爾·維納斯
Inside the Java Virtual Machine 的作者

執行緒是 Java 平台的基本部分。隨著多核心處理器成為常態,有效使用併發對於構建高性能應用程式變得至關重要。Java SE 5 和 6 在開發併發應用程式方面邁出了巨大的一步,對 Java 虛擬機進行了改進,以支持高性能、高可擴展性的併發類別和一組豐富的新併發構建塊。在Java Concurrency in Practice中,這些新功能的創建者不僅解釋了它們的工作原理和使用方法,還解釋了它們背後的動機和設計模式。

然而,開發、測試和調試多執行緒程式仍然可能非常困難;創建看似正常運作的併發程式卻在最重要的時刻(如生產環境下的重負載)失敗是非常容易的。Java Concurrency in Practice 為讀者提供了構建可靠、可擴展、可維護的併發應用程式所需的理論基礎和具體技術。它不僅僅提供併發 API 和機制的清單,而是提供設計規則、模式和思維模型,使構建正確且高效的併發程式變得更容易。

本書涵蓋的內容包括:
- 併發和執行緒安全的基本概念
- 構建和組合執行緒安全類別的技術
- 使用 java.util.concurrent 中的併發構建塊
- 性能優化的注意事項
- 測試併發程式
- 進階主題,如原子變數、非阻塞算法和 Java 記憶體模型