This book helps readers understand the JDK source code through a combination of pictures and texts, and completes the leap from entry to practice of multi-threaded concurrent programming. The book is divided into 7 chapters: Chapter 1 mainly explains the source code implementation of Java basic classes; Chapter 2 mainly analyzes the principle source code of commonly used collection classes; Chapter 3 explains the usage and principles of commonly used atomic classes AtomicLong and LongAdder; Chapter 4 mainly analyzes the JUC unique The principle source code of lock-occupying ReentrantLock, ReentrantLock is the basis for learning other concurrency classes; Chapter 5 analyzes the implementation principles of two commonly used concurrent containers, List and Map, focusing on the implementation of ConcurrentHashMap; Chapter 6 explains the implementation of blocking queue, focusing on its representative class ArrayBlockingQueue and the principle source code of LinkedBlockingQueue; Chapter 7 analyzes the principle source code of the thread pool. This book is suitable for Java R&D engineers, those who are interested in JDK source code or Java concurrent programming, and those who want to explore the source code of JUC package principles.
Reader comments
This book is suitable for those who want to gain a deeper understanding of concurrent programming in Java. It explains the source code through a combination of pictures and texts, making it easy to understand. The cases in the book are also very practical. For example, the explanation of the implementation of blocking queue gave me a deeper understanding of the thread pool. Recommended to friends who are interested in Java concurrent programming.
This book is suitable for those who want to gain a deeper understanding of concurrent programming in Java. It explains the source code through a combination of pictures and texts, making it easy to understand. The cases in the book are also very practical. For example, the explanation of the implementation of blocking queue gave me a deeper understanding of the thread pool. Recommended to friends who are interested in Java concurrent programming.