Skip to content

Commit afee8d8

Browse files
committed
[docs fix]文件名规范&错误链接修复
1 parent 3e72393 commit afee8d8

21 files changed

+61
-45
lines changed

README.en.md

+9-5
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,11 @@ Read in other languages: [Mandarin](https://github.com/Snailclimb/JavaGuide/blob
4444

4545
### Basis
4646

47-
**Knowledge points/interview questions**: (Must see:+1: ): [Java Basics Knowledge Points/Interview Questions Summary](docs/java/basis/javabasics-summary.md)
47+
**Knowledge points/interview questions**: (Must see:+1: ):
48+
49+
- [Java Basics Knowledge Points/Interview Questions Summary(1)](docs/java/basis/java-basic-questions-01.md)
50+
- [Java Basics Knowledge Points/Interview Questions Summary(2)](docs/java/basis/java-basic-questions-01.md)
51+
- [Java Basics Knowledge Points/Interview Questions Summary(3)](docs/java/basis/java-basic-questions-01.md)
4852

4953
**Important Knowledge Points Explained:**
5054

@@ -71,11 +75,11 @@ Read in other languages: [Mandarin](https://github.com/Snailclimb/JavaGuide/blob
7175

7276
**Important Knowledge Points Explained:**
7377

74-
1. **Thread pool**: [Java thread pool learning summary](./docs/java/concurrent/java线程池学习总结.md), [Java thread pooling best practices](./docs/java/concurrent/拿来即用的java线程池最佳实践.md)
78+
1. **Thread pool**: [Java thread pool learning summary](./docs/java/concurrent/java-thread-pool-summary.md), [Java thread pooling best practices](./docs/java/concurrent/java-thread-pool-best-practices.md)
7579
2. [ThreadLocal keyword resolution](docs/java/concurrent/threadlocal.md)
76-
3. [Java concurrency container summary](docs/java/concurrent/并发容器总结.md)
77-
4. [Atomic atomic class summary](docs/java/concurrent/atomic原子类总结.md)
78-
5. [AQS principle and AQS synchronization component summary](docs/java/concurrent/aqs原理以及aqs同步组件总结.md)
80+
3. [Java concurrency container summary](docs/java/concurrent/java-concurrent-collections.md)
81+
4. [Atomic atomic class summary](docs/java/concurrent/atomic-classes.md)
82+
5. [AQS principle and AQS synchronization component summary](docs/java/concurrent/aqs.md)
7983
6. [Getting Started with CompletableFuture](docs/java/concurrent/completablefuture-intro.md)
8084

8185
### JVM (must see :+1:)

README.md

+36-23
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## 👏 重大更新!!!重磅!
22

33
- JavaGuide 在线阅读版(新版,推荐👍):https://javaguide.cn/
4-
- JavaGuide 在线阅读版(老版,部分链接已经无法访问):https://snailclimb.gitee.io/javaguide/#/
4+
- JavaGuide 在线阅读版(老版):https://snailclimb.gitee.io/javaguide/#/
55
- [《JavaGuide 面试突击版》PDF 版本下载](https://mp.weixin.qq.com/s?__biz=Mzg2OTA0Njk0OA==&mid=100029614&idx=1&sn=62993c5cf10265cb7018db7f1ec67250&chksm=4ea1fb6579d67273499b7243641d4ef372decd08047bfbb6dfb5843ef81c7ccba209086cf345#rd)
66

77
<a href="https://t.1yb.co/GXLF"><img src="https://img-blog.csdnimg.cn/2f61f3e2d1f2427da977340919e41616.png" style="margin: 0 auto;width:850px" /></a>
@@ -43,34 +43,47 @@
4343

4444
### 基础
4545

46-
**知识点/面试题** : (必看:+1: ):[Java 基础知识点/面试题总结](docs/java/basis/java基础知识总结.md)
46+
**知识点/面试题** : (必看:+1: ):
4747

48-
**重要知识点详解:**
48+
- [Java 基础常见知识点&面试题总结(上)](docs/java/basis/java-basic-questions-01.md)
49+
- [Java 基础常见知识点&面试题总结(中)](docs/java/basis/java-basic-questions-01.md)
50+
- [Java 基础常见知识点&面试题总结(下)](docs/java/basis/java-basic-questions-01.md)
51+
52+
**重要知识点详解**
4953

5054
- [为什么 Java 中只有值传递?](docs/java/basis/why-there-only-value-passing-in-java.md)
51-
- [什么是反射机制?反射机制的应用场景有哪些?](docs/java/basis/反射机制详解.md)
52-
- [代理模式详解:静态代理+JDK/CGLIB 动态代理实战](docs/java/basis/代理模式详解.md)
53-
- [常见的 IO 模型有哪些?Java 中的 BIO、NIO、AIO 有啥区别?](docs/java/basis/io模型详解.md)
55+
- [什么是反射机制?反射机制的应用场景有哪些?](docs/java/basis/reflection.md)
56+
- [代理模式详解:静态代理+JDK/CGLIB 动态代理实战](docs/java/basis/proxy.md)
57+
- [常见的 IO 模型有哪些?Java 中的 BIO、NIO、AIO 有啥区别?](docs/java/basis/io.md)
5458
- [BigDecimal解决浮点数运算精度丢失问题](docs/java/basis/bigdecimal.md)
59+
- **[泛型连环炮](docs/java/basis/generics.md)**
5560

5661
### 集合
5762

58-
1. **[Java 集合常见问题总结](docs/java/collection/java集合框架基础知识&面试题总结.md)** (必看 :+1:)
63+
**知识点/面试题**
64+
65+
1. [Java 集合常见知识点&面试题总结(上)](docs/java/collection/java-collection-questions-01.md) (必看 :+1:)
66+
2. [Java 集合常见知识点&面试题总结(下)](docs/java/collection/java-collection-questions-02.md) (必看 :+1:)
5967
2. [Java 容器使用注意事项总结](docs/java/collection/java集合使用注意事项.md)
60-
3. **源码分析**[ArrayList 源码+扩容机制分析](docs/java/collection/arraylist-source-code.md)[HashMap(JDK1.8)源码+底层数据结构分析](docs/java/collection/hashmap-source-code.md)[ConcurrentHashMap 源码+底层数据结构分析](docs/java/collection/concurrent-hash-map-source-code.md)
68+
69+
**源码分析**
70+
71+
- [ArrayList 源码+扩容机制分析](docs/java/collection/arraylist-source-code.md)
72+
- [HashMap(JDK1.8)源码+底层数据结构分析](docs/java/collection/hashmap-source-code.md)
73+
- [ConcurrentHashMap 源码+底层数据结构分析](docs/java/collection/concurrent-hash-map-source-code.md)
6174

6275
### 并发
6376

64-
**知识点/面试题:** (必看 :+1:)
77+
**知识点/面试题** : (必看 :+1:)
6578

66-
1. **[Java 并发基础常见面试题总结](docs/java/concurrent/java并发基础常见面试题总结.md)**
67-
2. **[Java 并发进阶常见面试题总结](docs/java/concurrent/java并发进阶常见面试题总结.md)**
79+
1. [Java 并发常见知识点&面试题总结(基础篇)](docs/java/concurrent/java-concurrent-questions-01.md)
80+
2. [Java 并发常见知识点&面试题总结(进阶篇)](docs/java/concurrent/java-concurrent-questions-02.md)
6881

69-
**重要知识点详解**
82+
**重要知识点详解**
7083

71-
1. **线程池**[Java 线程池学习总结](./docs/java/concurrent/java线程池学习总结.md)[拿来即用的 Java 线程池最佳实践](./docs/java/concurrent/拿来即用的java线程池最佳实践.md)
84+
1. **线程池** [Java 线程池详解](./docs/java/concurrent/java-thread-pool-summary.md)[Java 线程池最佳实践](./docs/java/concurrent/java-thread-pool-best-practices.md)
7285
2. [ThreadLocal 关键字解析](docs/java/concurrent/threadlocal.md)
73-
3. [Java 并发容器总结](docs/java/concurrent/并发容器总结.md)
86+
3. [Java 并发容器总结](docs/java/concurrent/java-concurrent-collections.md)
7487
4. [Atomic 原子类总结](docs/java/concurrent/atomic原子类总结.md)
7588
5. [AQS 原理以及 AQS 同步组件总结](docs/java/concurrent/aqs原理以及aqs同步组件总结.md)
7689
6. [CompletableFuture入门](docs/java/concurrent/completablefuture-intro.md)
@@ -193,17 +206,17 @@ JVM 这部分内容主要参考 [JVM 虚拟机规范-Java8 ](https://docs.oracle
193206

194207
#### Spring/SpringBoot (必看 :+1:)
195208

196-
**知识点/面试题:**
209+
**知识点/面试题** :
197210

198-
1. **[Spring 常见问题总结](docs/system-design/framework/spring/Spring常见问题总结.md)**
211+
1. **[Spring 常见知识点&面试题总结](docs/system-design/framework/spring/spring-knowledge-and-questions-summary.md)**
199212
2. **[SpringBoot 入门指南](https://github.com/Snailclimb/springboot-guide)**
200213

201-
**重要知识点详解**
214+
**重要知识点详解**
202215

203-
1. **[Spring/Spring Boot 常用注解总结!安排!](./docs/system-design/framework/spring/Spring&SpringBoot常用注解总结.md)**
204-
2. **[Spring 事务总结](docs/system-design/framework/spring/Spring事务总结.md)**
205-
3. [Spring 中都用到了那些设计模式?](docs/system-design/framework/spring/Spring设计模式总结.md)
206-
4. **[SpringBoot 自动装配原理?”](docs/system-design/framework/spring/SpringBoot自动装配原理.md)**
216+
1. **[Spring/Spring Boot 常用注解总结!安排!](./docs/system-design/framework/spring/spring-common-annotations.md)**
217+
2. **[Spring 事务总结](docs/system-design/framework/spring/spring-transaction.md)**
218+
3. [Spring 中都用到了那些设计模式?](docs/system-design/framework/spring/spring-design-patterns-summary.md)
219+
4. **[SpringBoot 自动装配原理](docs/system-design/framework/spring/spring-boot-auto-assembly-principles.md)**
207220

208221
#### MyBatis
209222

@@ -220,7 +233,7 @@ JVM 这部分内容主要参考 [JVM 虚拟机规范-Java8 ](https://docs.oracle
220233
**[《认证授权基础》](docs/system-design/security/basis-of-authority-certification.md)** 这篇文章中我会介绍认证授权常见概念: **Authentication**,**Authorization** 以及 **Cookie****Session**、Token、**OAuth 2****SSO** 。如果你不清楚这些概念的话,建议好好阅读一下这篇文章。
221234

222235
- **JWT** :JWT(JSON Web Token)是一种身份认证的方式,JWT 本质上就一段签名的 JSON 格式的数据。由于它是带有签名的,因此接收者便可以验证它的真实性。相关阅读:
223-
- [JWT 优缺点分析以及常见问题解决方案](docs/system-design/security/jwt优缺点分析以及常见问题解决方案.md)
236+
- [JWT 优缺点分析以及常见问题解决方案](docs/system-design/security/advantages&disadvantages-of-jwt.md)
224237
- [适合初学者入门 Spring Security With JWT 的 Demo](https://github.com/Snailclimb/spring-security-jwt-guide)
225238

226239
- **SSO(单点登录)****SSO(Single Sign On)** 即单点登录说的是用户登陆多个子系统的其中一个就有权访问与其相关的其他系统。举个例子我们在登陆了京东金融之后,我们同时也成功登陆京东的京东超市、京东家电等子系统。相关阅读:[**SSO 单点登录看这篇就够了!**](docs/system-design/security/sso-intro.md)
@@ -400,7 +413,7 @@ Dubbo 是一款国产的 RPC 框架,由阿里开源。相关阅读:
400413
### Docker
401414

402415
- [Docker 基本概念解读](./docs/tools/docker/docker-intro.md)
403-
- [Docker从入门到上手干事](./docs/tools/docker/docker-in-actiono.md)
416+
- [Docker从入门到上手干事](./docs/tools/docker/docker-in-action.md)
404417

405418
## 关于作者
406419

docs/.vuepress/config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ module.exports = config({
191191
"java-concurrent-questions-01", "java-concurrent-questions-02",
192192
{
193193
title: "重要知识点",
194-
children: ["java线程池学习总结", "并发容器总结", "拿来即用的java线程池最佳实践", "aqs原理以及aqs同步组件总结", "reentrantlock",
195-
"atomic原子类总结", "threadlocal", "completablefuture-intro"],
194+
children: ["java-thread-pool-summary", "java-thread-pool-best-practices", "java-concurrent-collections", "aqs", "reentrantlock",
195+
"atomic-classes", "threadlocal", "completablefuture-intro"],
196196
},
197197
],
198198
},

docs/java/concurrent/并发容器总结.md docs/java/concurrent/java-concurrent-collections.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: JDK 提供的并发容器总结
2+
title: Java 常见并发容器总结
33
category: Java
44
tag:
55
- Java并发

docs/java/concurrent/java-concurrent-questions-02.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ public void execute(Runnable command) {
758758

759759
通过下图可以更好的对上面这 3 步做一个展示,下图是我为了省事直接从网上找到,原地址不明。
760760

761-
![图解线程池实现原理](images/java线程池学习总结/图解线程池实现原理.png)
761+
![图解线程池实现原理](images/java-thread-pool-summary/图解线程池实现原理.png)
762762

763763
现在,让我们在回到 4.6 节我们写的 Demo, 现在是不是很容易就可以搞懂它的原理了呢?
764764

docs/java/concurrent/拿来即用的java线程池最佳实践.md docs/java/concurrent/java-thread-pool-best-practices.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: 拿来即用的Java线程池最佳实践
2+
title: Java 线程池最佳实践
33
category: Java
44
tag:
55
- Java并发

docs/java/concurrent/java线程池学习总结.md docs/java/concurrent/java-thread-pool-summary.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Java线程池学习总结
2+
title: Java 线程池详解
33
category: Java
44
tag:
55
- Java并发
@@ -59,7 +59,7 @@ public class ScheduledThreadPoolExecutor
5959
implements ScheduledExecutorService
6060
```
6161

62-
![任务的执行相关接口](images/java线程池学习总结/任务的执行相关接口.png)
62+
![任务的执行相关接口](images/java-thread-pool-summary/任务的执行相关接口.png)
6363

6464
#### 3) 异步计算的结果(`Future`)
6565

@@ -69,7 +69,7 @@ public class ScheduledThreadPoolExecutor
6969

7070
### 2.3 Executor 框架的使用示意图
7171

72-
![Executor 框架的使用示意图](images/java线程池学习总结/Executor框架的使用示意图.png)
72+
![Executor 框架的使用示意图](images/java-thread-pool-summary/Executor框架的使用示意图.png)
7373

7474
1. **主线程首先要创建实现 `Runnable` 或者 `Callable` 接口的任务对象。**
7575
2. **把创建完成的实现 `Runnable`/`Callable`接口的 对象直接交给 `ExecutorService` 执行**: `ExecutorService.execute(Runnable command)`)或者也可以把 `Runnable` 对象或`Callable` 对象提交给 `ExecutorService` 执行(`ExecutorService.submit(Runnable task)`或 `ExecutorService.submit(Callable <T> task)`)。
@@ -129,7 +129,7 @@ public class ScheduledThreadPoolExecutor
129129

130130
下面这张图可以加深你对线程池中各个参数的相互关系的理解(图片来源:《Java 性能调优实战》):
131131

132-
![线程池各个参数的关系](images/java线程池学习总结/线程池各个参数之间的关系.png)
132+
![线程池各个参数的关系](images/java-thread-pool-summary/线程池各个参数之间的关系.png)
133133

134134
**`ThreadPoolExecutor` 饱和策略定义:**
135135

@@ -160,7 +160,7 @@ public class ScheduledThreadPoolExecutor
160160
> - **`CachedThreadPool``ScheduledThreadPool`** : 允许创建的线程数量为 `Integer.MAX_VALUE` ,可能会创建大量线程,从而导致 OOM。
161161
162162
**方式一:通过`ThreadPoolExecutor`构造函数实现(推荐)**
163-
![通过构造方法实现](images/java线程池学习总结/threadpoolexecutor构造函数.png)
163+
![通过构造方法实现](images/java-thread-pool-summary/threadpoolexecutor构造函数.png)
164164

165165
**方式二:通过 `Executor` 框架的工具类 `Executors` 来实现**
166166
我们可以创建三种类型的 `ThreadPoolExecutor`
@@ -171,7 +171,7 @@ public class ScheduledThreadPoolExecutor
171171

172172
对应 Executors 工具类中的方法如图所示:
173173

174-
![通过Executor 框架的工具类Executors来实现](images/java线程池学习总结/Executors工具类.png)
174+
![通过Executor 框架的工具类Executors来实现](images/java-thread-pool-summary/Executors工具类.png)
175175

176176
## 四 ThreadPoolExecutor 使用+原理分析
177177

@@ -693,7 +693,7 @@ Wed Nov 13 13:40:43 CST 2019::pool-1-thread-5
693693

694694
`FixedThreadPool``execute()` 方法运行示意图(该图片来源:《Java 并发编程的艺术》):
695695

696-
![FixedThreadPool的execute()方法运行示意图](images/java线程池学习总结/FixedThreadPool.png)
696+
![FixedThreadPool的execute()方法运行示意图](images/java-thread-pool-summary/FixedThreadPool.png)
697697

698698
**上图说明:**
699699

@@ -743,7 +743,7 @@ Wed Nov 13 13:40:43 CST 2019::pool-1-thread-5
743743
#### 5.2.2 执行任务过程介绍
744744

745745
`SingleThreadExecutor` 的运行示意图(该图片来源:《Java 并发编程的艺术》):
746-
![SingleThreadExecutor的运行示意图](images/java线程池学习总结/SingleThreadExecutor.png)
746+
![SingleThreadExecutor的运行示意图](images/java-thread-pool-summary/SingleThreadExecutor.png)
747747

748748
**上图说明** :
749749

@@ -787,7 +787,7 @@ Wed Nov 13 13:40:43 CST 2019::pool-1-thread-5
787787
#### 5.3.2 执行任务过程介绍
788788

789789
`CachedThreadPool``execute()` 方法的执行示意图(该图片来源:《Java 并发编程的艺术》):
790-
![CachedThreadPool的execute()方法的执行示意图](images/java线程池学习总结/CachedThreadPool-execute.png)
790+
![CachedThreadPool的execute()方法的执行示意图](images/java-thread-pool-summary/CachedThreadPool-execute.png)
791791

792792
**上图说明:**
793793

@@ -818,7 +818,7 @@ Wed Nov 13 13:40:43 CST 2019::pool-1-thread-5
818818
819819
### 6.2 运行机制
820820

821-
![ScheduledThreadPoolExecutor运行机制](images/java线程池学习总结/ScheduledThreadPoolExecutor机制.png)
821+
![ScheduledThreadPoolExecutor运行机制](images/java-thread-pool-summary/ScheduledThreadPoolExecutor机制.png)
822822

823823
**`ScheduledThreadPoolExecutor` 的执行主要分为两大部分:**
824824

@@ -833,7 +833,7 @@ Wed Nov 13 13:40:43 CST 2019::pool-1-thread-5
833833

834834
### 6.3 ScheduledThreadPoolExecutor 执行周期任务的步骤
835835

836-
![ScheduledThreadPoolExecutor执行周期任务的步骤](images/java线程池学习总结/ScheduledThreadPoolExecutor执行周期任务步骤.png)
836+
![ScheduledThreadPoolExecutor执行周期任务的步骤](images/java-thread-pool-summary/ScheduledThreadPoolExecutor执行周期任务步骤.png)
837837

838838
1. 线程 1 从 `DelayQueue` 中获取已到期的 `ScheduledFutureTask(DelayQueue.take())`。到期任务是指 `ScheduledFutureTask`的 time 大于等于当前系统的时间;
839839
2. 线程 1 执行这个 `ScheduledFutureTask`

index.html

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
name="viewport"
1010
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
1111
/>
12-
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/prism.css" />
1312
<!--主题-->
1413
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css" />
1514
</head>

0 commit comments

Comments
 (0)