# Java线程安全

## 目录

* [性能与可伸缩性](/java-concurrent/javaxian-cheng-an-quan/xing-neng-yu-ke-shen-suo-xing.md)&#x20;
* [解决死锁](/java-concurrent/javaxian-cheng-an-quan/jie-jue-si-suo.md)&#x20;
* [死锁定义](/java-concurrent/javaxian-cheng-an-quan/si-suo-ding-yi.md)&#x20;
* [如何让多线程下的类安全](/java-concurrent/javaxian-cheng-an-quan/ru-he-rang-duo-xian-cheng-xia-de-lei-an-quan.md)&#x20;
* [类的线程安全性定义](/java-concurrent/javaxian-cheng-an-quan/lei-de-xian-cheng-an-quan-xing-ding-yi.md)&#x20;
* [实战：实现一个线程安全的单例模式](/java-concurrent/javaxian-cheng-an-quan/shi-zhan-ff1a-shi-xian-yi-ge-xian-cheng-an-quan-de-dan-li-mo-shi.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/javaxian-cheng-an-quan.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.
