Java Concurrency in Practice


Java Concurrency in Practice
By 作者: Brian Goetz - Tim Peierls - Joshua Bloch - Joseph Bowbeer - David Holmes - Doug Lea
ISBN-10 书号: 0321349601
ISBN-13 书号: 9780321349606
Edition 版本: 1
Release Finelybook 出版日期: 2006-05-19
Pages 页数: 384

"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开发人员都应该读这本书。
- 马丁·布赫霍尔茨
JDK并发沙皇,Sun Microsystems
“在过去的30年中,计算机性能受到摩尔定律的驱动,从现在开始,它将受到Amdahl定律的驱动,编写有效利用多个处理器的代码可能非常具有挑战性Java并发实践为您提供了概念和为今天和未来的系统编写安全可扩展的Java程序所需的技术。“
- 多伦·拉万湾
英特尔公司研究科学家
“这是你所需要的书,如果你正在编写或设计,调试或维护或者考虑多线程的Java程序,如果你不得不同步一个方法,你不知道为什么,你欠你自己和你的用户阅读这本书,盖上盖子。“
- 泰德·纽瓦德
有效企业Java的作者
“Brian解决了并发的基本问题和复杂性,并不清楚,这本书对于任何使用线程和关心性能的人来说都是必读的。”
- Kirk Pepperdine
CTO,JavaPerformanceTuning.com
“这本书以非常清晰和简洁的方式介绍了一个非常深刻和微妙的话题,使其成为完美的Java并发参考手册,每一页都充满了程序员每天都在努力的问题(和解决方案!),有效利用并发性摩尔定律提供更多的内核,而不是更快的核心,现在变得越来越重要了,这本书将向您展示如何做到这一点。“
--Dr。悬崖点击
Azul Systems高级软件工程师
“我对并发感兴趣,并且可能会写出更多的线程死锁,并且比大多数程序员都犯了更多的同步错误.Brian的书是Java中线程和并发问题中最为可读的,并且处理这个难题实际操作方法,这是一本我向Java读者通讯的所有读者推荐的书,因为它对Java开发人员今天面临的问题非常有用,有用和有用。
--Dr。 Heinz Kabutz
Java专家通讯
“我专注于简化简单的问题,但这本书有意义和有效地简化了复杂但关键的主题:并发性。Java并发实践中的方法是革命性的,平滑而简单的风格,及时的交付 - 注定是一本非常重要的书。“
- 布鲁斯泰特
超越Java的作者
“Java并发实践是Java开发人员线程专业知识的宝贵汇编,我发现阅读这本书令人兴奋,部分原因是它是Java并发API的一个很好的介绍,但主要是因为它以一种彻底和可访问的方式捕获关于线程的专家知识在别处很容易找到。“
- 让维纳斯
Java虚拟机内部的作者
线程是Java平台的基本部分。随着多核处理器成为常态,使用并发性有助于构建高性能应用程序。 Java SE 5和6是开发并发应用程序的巨大进步,通过改进Java虚拟机来支持高性能,高度可扩展的并行类和一系列新的并发构建块。在Java并发实践中,这些新设施的创建者不仅解释了它们的工作原理以及如何使用它们,还解释了它们的动机和设计模式。
然而,开发,测试和调试多线程程序仍然可能非常困难;创建似乎工作的并发程序是太容易了,但最重要的是失败:在生产中,负载较重。 Java并发实践武器阅读器具有构建可靠,可扩展,可维护并发应用程序的理论基础和具体技术。并不仅仅是提供并发API和机制的清单,而是提供了设计规则,模式和心理模型,使得更容易构建正确和执行的并发程序。
本书涵盖:
并发和线程安全的基本概念
构建和组合线程安全类的技术
使用java.util.concurrent中的并发构建块
性能优化和不要
测试并发程序
高级主题,如原子变量,非阻塞算法和Java内存模型

下载地址 Download
觉得文章有用就打赏一下文章作者
未经允许不得转载:finelybook » Java Concurrency in Practice
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏