Название книги: Java Concurrency in Practice
Автор: Brian Goetz
Размер: 6.35 MB
Описание книги «Java Concurrency in Practice»:
One of the challenges of developing concurrent programs in Java is the mismatch between the concurrency features offered by the platform and how developers need to think about concurrency in their programs. The language provides low level mechanisms such as synchronization and condition waits, but these mechanisms must be used consistently to implement application level protocols or policies. Without such policies, it is all too easy to create programs that compile and appear to work but are nevertheless broken. Many otherwise excellent books on concurrency fall short of their goal by focusing excessively on low level mechanisms and APIs rather than design level policies and patterns.
The goal of this book is to give readers a set of design rules and mental models that make it easier and more fun to build correct, performant concurrent classes and applications in Java.
We assume the reader already has some familiarity with the basic mechanisms for concurrency in Java. Java Concurrency in Practice is not an introduction to concurrency for that, see the threading chapter of any decent introductory volume, such as The Java Programming Language.
Chapter 1: Introduction
Chapter 2: Thread Safety
Chapter 3: Sharing Objects
Chapter 4: Composing Objects
Chapter 5: Building Blocks
Chapter 6: Task Execution
Chapter 7: Cancellation and Shutdown
Chapter 8: Applying Thread Pools
Chapter 9: GUI Applications
Chapter 10: Avoiding Liveness Hazards
Chapter 11: Performance and Scalability
Chapter 12: Testing Concurrent Programs
Chapter 13: Explicit Locks
Chapter 14: Building Custom Synchronizers
Chapter 15: Atomic Variables and Non-blocking Synchronization
Chapter 16: The Java Memory Model
Скачать: «Java Concurrency in Practice (2006)»