# 前言

本书全面记录了 Java 并发编程的相关知识，结合JDK的源码介绍了Java并发框架、线程池的实现原理包括 Java 5 新增加的并发包内的相关类以及Java8新特性，分析了并发编程中的常见问题，并深入 Java 内存模型，对底层并发机制的实现做了一些分析。如果你正在编写、设计、调试、维护以及分析多线程的 Java 程序，那么本书正是你需要的。

## 适用人群 <a href="#id-188e1b5b552a2ef5f7fc610c2cbda09f" id="id-188e1b5b552a2ef5f7fc610c2cbda09f"></a>

本书适合 Java 程序开发人员阅读。

## 前提准备 <a href="#id-85bc6e0a96aebd855de81f05dd2db6a9" id="id-85bc6e0a96aebd855de81f05dd2db6a9"></a>

熟悉 Java 语法，了解 Java 面向对象编程思想。

## **参考文档**

Java并发编程艺术，很多细节在里面都有可以观看： 百度云链接: <https://pan.baidu.com/s/1U8Ma40Ya1kKFioyBksSKnw> 密码: jfhp

## **目录**

* [Java多线程基础](/java-concurrent/di-yi-7ae0-java-duo-xian-cheng-ji-chu.md)
* [Java线程池与框架](/java-concurrent/di-er-zhang-java-xian-cheng-chi-yu-kuang-jia.md)
* [Java内存模型](/java-concurrent/di-san-zhang-java-nei-cun-mo-xing.md)
* [HashMap实现原理](/java-concurrent/hashmapshi-xian-yuan-li.md)
* [ConcurrentHashMap的实现原理与使用](/java-concurrent/concurrenthashmapde-shi-xian-yuan-li-yu-shi-yong.md)
* [Java中的阻塞队列](/java-concurrent/javazhong-de-zu-sai-dui-lie.md)
* [Fork/Join框架](/java-concurrent/forkjoinkuang-jia.md)
* [java.util.concurrent包讲解](/java-concurrent/javautilconcurrentbao-jiang-jie.md)
* [Java线程安全](/java-concurrent/javaxian-cheng-an-quan.md)
* [Java常用并发开发工具和类的源码分析](/java-concurrent/javachang-yong-bing-fa-kai-fa-gong-ju-he-lei-de-yuan-ma-fen-xi.md)
* [Java中的锁](/java-concurrent/javazhong-de-suo.md)
* [Java多线程的常见问题](/java-concurrent/javaduo-xian-cheng-de-chang-jian-wen-ti.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://tuonioooo-notebook.gitbook.io/java-concurrent/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
