LaoCat
b177fd8457
Update jmm.md
...
修改语病。
2022-10-27 13:50:01 +08:00
hyl1995
c33082d55a
Update java-thread-pool-summary.md
...
修正部分错误文字说明
2022-10-27 11:44:04 +08:00
guide
f02150de2a
[docs fix]修正对死锁的四个必要条件的描述
2022-10-25 10:13:34 +08:00
guide
c5766c7b51
[docs fix]对 CPU 缓存模型绘图不严谨的地方进行完善
2022-10-23 20:26:02 +08:00
guide
681c5aeef7
[docs update]完善数据库基础书籍推荐
2022-10-08 20:11:00 +08:00
Amos Chu
20d4644d23
删除重复字“开发发者“
2022-09-22 08:36:40 +08:00
Hexrt
9ea68bc3b4
fix: typo
...
1. 缓存缓存一致性->缓存一致性
2. 准守->遵守
3. 但有->但又
4. 编译器的当时->编译器重排序的方式
5.`start()`方法->`start()`方法
2022-09-05 17:02:27 +08:00
guide
703c7b4b75
Update java-concurrent-questions-02.md
2022-08-23 16:05:56 +08:00
guide
81f1291ca0
Update java-concurrent-questions-02.md
2022-08-21 21:13:26 +08:00
guide
29741e6bca
[docs improve]java部分图片重新绘制
2022-08-21 19:15:56 +08:00
Carbda
d67403e140
Update java-concurrent-questions-02.md
...
方法大小括号的使用规范
2022-08-18 23:20:21 +08:00
guide
3c9d813a17
[docs update]并发部分不太清晰的图片重新上传
2022-08-15 22:31:03 +08:00
guide
075593b231
[docs update]java并发部分内容重构完善
2022-08-12 19:03:57 +08:00
guide
d2bb3052df
[docs update]typo
2022-08-08 07:16:26 +08:00
Guide
7628b6178d
Merge pull request #1782 from Raxcl/patch-4
...
Update java-concurrent-questions-03.md
2022-08-08 06:50:47 +08:00
Guide
3a306606e9
Merge pull request #1783 from Raxcl/patch-5
...
Update java-concurrent-questions-01.md
2022-08-08 06:48:26 +08:00
guide
4aa189e03b
[docs update]并发部分图片修复
2022-08-04 21:37:03 +08:00
guide
dffc5dd94a
[docs update]Java并发部分内容重构完善
2022-08-04 21:00:03 +08:00
Raxcl
e78f45c9f1
Update java-concurrent-questions-01.md
2022-08-03 22:04:50 +08:00
Raxcl
9752436602
Update java-concurrent-questions-03.md
2022-08-03 22:01:30 +08:00
guide
506532cdcf
[docs update]并发部分内容完善&拆分成3篇
2022-07-30 18:58:06 +08:00
guide
98ec9ae28a
[docs update]并发部分内容修改
2022-07-25 20:46:48 +08:00
guide
a600b8d8ca
[docs improve]seo优化&文章标题优化
2022-07-18 09:24:18 +08:00
guide
510273aec8
Update reentrantlock.md
2022-06-30 15:28:01 +08:00
Guide
4fddad66a9
Merge pull request #1760 from samho2008/wrong-pic-content-in-java-thread-pool-best-practices
...
Add extra explanation for typo in pictures in java-thread-pool-best-p…
2022-06-28 12:53:27 +08:00
sam
d4f5de7a7a
Add extra explanation for typo in pictures in java-thread-pool-best-practices.md
2022-06-28 10:27:52 +08:00
Mr.Mi
8e3b9eb705
Update aqs.md
...
Returns:
a negative value on failure; zero if acquisition in shared mode succeeded but no subsequent shared-mode acquire can succeed; and a positive value if acquisition in shared mode succeeded and subsequent shared-mode acquires might also succeed, in which case a subsequent waiting thread must check availability. (Support for three different return values enables this method to be used in contexts where acquires only sometimes act exclusively.) Upon success, this object has been acquired.
2022-06-27 18:06:56 +08:00
guide
8560469ae0
[docs update]线程的生命周期和状态图片更新
2022-05-31 21:08:12 +08:00
guide
4824248610
Update java-concurrent-questions-02.md
2022-05-12 15:17:35 +08:00
marlonDML
4ffe72afc1
原链接错误,已调整
2022-04-28 12:20:36 +08:00
Vingkin
1b6a58aa3c
Update reentrantlock.md
...
Lock是一个顶层接口
2022-04-24 10:23:05 +08:00
guide
d73029153f
[docs feat]vuepress主题版本升级
2022-03-30 09:46:56 +08:00
Guide
ba1034e2d2
Merge pull request #1650 from DayuZhu/patch-2
...
Update aqs.md
2022-03-29 20:32:11 +08:00
Dayu
d9f0683677
Update aqs.md
...
勘误:“ CountDownLatCh” 改为 “ CountDownLatch”
2022-03-29 17:06:28 +08:00
18986293910
bf04a1159e
死锁的四个必要条件
...
必要条件中有时是进程,有时又是线程,将其都改为线程。
2022-03-28 09:19:27 +08:00
Guide
7d34a6c1a9
Merge pull request #1627 from BaoPiao/patch-1
...
AtomicMarkableReference 可以解决ABA问题
2022-03-26 18:05:31 +08:00
李建新
da754ac304
勘误
2022-03-25 10:45:27 +08:00
Guide
569e317d06
Merge pull request #1640 from VerneZhong/patch-3
...
错别字修正
2022-03-24 11:03:27 +08:00
Verne.Chung
e396e84178
错别字修正
2022-03-23 13:48:40 +08:00
Verne.Chung
603992ebfa
错别字修改
2022-03-22 09:57:37 +08:00
guide
26afcc7706
[docs update]完善描述
2022-03-21 15:04:27 +08:00
BaoPiao
ea1b70d703
AtomicMarkableReference 是可以解决ABA问题的
...
因为AtomicMarkableReference是通过内部类Pair实现数据存储,每次替换都是通过Pair.of方法new一个类出来进行替换原先的值
如果ABA出现,那么最后的A肯定是一个新的Pair实例,即当前的A和之前的A不是同一个实例,当现场使用compareAndSet则会返回false
以下是compareAndSet的实现:
Pair<V> current = pair;
return
expectedReference == current.reference &&
expectedMark == current.mark &&
((newReference == current.reference &&
newMark == current.mark) ||
casPair(current, Pair.of(newReference, newMark)));
2022-03-19 17:19:59 +08:00
guide
3ab8d73a9f
[docs improve] 主题升级&还原搜索功能
2022-03-07 19:20:07 +08:00
guide
e86dcf9ce6
[docs fix] java基础-异常
2022-03-03 16:20:18 +08:00
guide
5a5f8ccb3b
✨ [docs feat]vuepress主题更新
2022-03-03 09:14:56 +08:00
Evan He
735a5a1b1a
[docs fix]错别字修改&优化表述
2022-03-01 09:00:29 +08:00
guide
74a376acd3
Update java-thread-pool-summary.md
2022-02-18 20:37:16 +08:00
Sr
5d5f8e3f5c
[docs fix]错别字修改&优化表述
2022-02-13 18:01:55 +08:00
guide
cc4543bc3f
[docs improve]图片压缩
2022-02-09 16:01:16 +08:00
guide
677a18c1fc
[docs improve]移除无用图片
2022-02-08 16:54:47 +08:00