volatile保证原子性
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Documentation
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- java
- Domain
- documentation
Research direction
Start with chapter eight, “volatile,” and review the two attached screenshots. The issue asks for a conceptual clarification of atomicity, but names no source file, test, or concrete documentation change; the expected wording and completion criteria would need to be agreed before work can begin.
Written by the indexing model from the issue text.
Description
章节
第八章 volatile
相关截图或文字
疑问
对单个volatile修饰的变量的写操作,第一步:JMM会先将这个变量写到线程本地缓存中,第二步:再将这个变量刷新到主存中。这是两步,为什么说volatile能保证对单个volatile变量的读/写具有原子性???
- Dominant language
- Java
- Stars
- 4.6k
- Forks
- 719
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from RedSpider1/concurrent
-
3.3.2 缺词 Open
Difficulty 1/5 Under an hour Newbie friendliness 65/100
RedSpider1/concurrent#149 ·
-
3.2 错别字 Open
Difficulty 1/5 Under an hour Newbie friendliness 68/100
RedSpider1/concurrent#148 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 45/100
RedSpider1/concurrent#151 ·
-
2.8 错别字&配图失效 Open
Difficulty 2/5 1-3 hours Newbie friendliness 52/100
RedSpider1/concurrent#150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
RedSpider1/concurrent#147 ·
All issues in RedSpider1/concurrent
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100