René's URL Explorer Experiment


Title: GitHub - iCodeBoxFox/concurrency: Java 并发编程知识梳理以及常见处理模式 features and patterns · GitHub

Open Graph Title: GitHub - iCodeBoxFox/concurrency: Java 并发编程知识梳理以及常见处理模式 features and patterns

X Title: GitHub - iCodeBoxFox/concurrency: Java 并发编程知识梳理以及常见处理模式 features and patterns

Description: Java 并发编程知识梳理以及常见处理模式 features and patterns. Contribute to iCodeBoxFox/concurrency development by creating an account on GitHub.

Open Graph Description: Java 并发编程知识梳理以及常见处理模式 features and patterns. Contribute to iCodeBoxFox/concurrency development by creating an account on GitHub.

X Description: Java 并发编程知识梳理以及常见处理模式 features and patterns. Contribute to iCodeBoxFox/concurrency development by creating an account on GitHub.

Opengraph URL: https://github.com/iCodeBoxFox/concurrency

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:78382aa8-f6cc-ca47-2e52-3567967df4ae
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idDEC0:22E4E0:C3A23:10192C:6A5AC464
html-safe-nonce052424c06b17f7b60d17050342d464220275a21688084f3271452216a892cbc9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERUMwOjIyRTRFMDpDM0EyMzoxMDE5MkM6NkE1QUM0NjQiLCJ2aXNpdG9yX2lkIjoiMjgwNzE3ODAyOTMxMDg1NDI0NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb4c807fd552453f40b980ae984afa18774c18de2ebfcf52a7ba9689d6dcefb87
hovercard-subject-tagrepository:307662092
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/iCodeBoxFox/concurrency
twitter:imagehttps://opengraph.githubassets.com/4f741100d4e282d79a99ed364b2098f291fc7d6ce3514439e44b14ba7d6d601c/iCodeBoxFox/concurrency
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4f741100d4e282d79a99ed364b2098f291fc7d6ce3514439e44b14ba7d6d601c/iCodeBoxFox/concurrency
og:image:altJava 并发编程知识梳理以及常见处理模式 features and patterns. Contribute to iCodeBoxFox/concurrency development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonef422022de939199d6afcbaac024b42b6232a3498a95f198e17717afb8b46fb15
turbo-cache-controlno-cache
go-importgithub.com/iCodeBoxFox/concurrency git https://github.com/iCodeBoxFox/concurrency.git
octolytics-dimension-user_id49975228
octolytics-dimension-user_loginiCodeBoxFox
octolytics-dimension-repository_id307662092
octolytics-dimension-repository_nwoiCodeBoxFox/concurrency
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id192668612
octolytics-dimension-repository_parent_nwoFadezed/concurrency
octolytics-dimension-repository_network_root_id192668612
octolytics-dimension-repository_network_root_nwoFadezed/concurrency
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2fa01ceb3b3a801409f050561abfb062094702d0
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/iCodeBoxFox/concurrency#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FiCodeBoxFox%2Fconcurrency
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FiCodeBoxFox%2Fconcurrency
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=iCodeBoxFox%2Fconcurrency
Reloadhttps://github.com/iCodeBoxFox/concurrency
Reloadhttps://github.com/iCodeBoxFox/concurrency
Reloadhttps://github.com/iCodeBoxFox/concurrency
iCodeBoxFox https://github.com/iCodeBoxFox
concurrencyhttps://github.com/iCodeBoxFox/concurrency
Fadezed/concurrencyhttps://github.com/Fadezed/concurrency
Notifications https://github.com/login?return_to=%2FiCodeBoxFox%2Fconcurrency
Fork 0 https://github.com/login?return_to=%2FiCodeBoxFox%2Fconcurrency
Star 0 https://github.com/login?return_to=%2FiCodeBoxFox%2Fconcurrency
Code https://github.com/iCodeBoxFox/concurrency
Pull requests 0 https://github.com/iCodeBoxFox/concurrency/pulls
Actions https://github.com/iCodeBoxFox/concurrency/actions
Projects https://github.com/iCodeBoxFox/concurrency/projects
Security and quality 0 https://github.com/iCodeBoxFox/concurrency/security
Insights https://github.com/iCodeBoxFox/concurrency/pulse
Code https://github.com/iCodeBoxFox/concurrency
Pull requests https://github.com/iCodeBoxFox/concurrency/pulls
Actions https://github.com/iCodeBoxFox/concurrency/actions
Projects https://github.com/iCodeBoxFox/concurrency/projects
Security and quality https://github.com/iCodeBoxFox/concurrency/security
Insights https://github.com/iCodeBoxFox/concurrency/pulse
https://github.com/iCodeBoxFox/concurrency
Brancheshttps://github.com/iCodeBoxFox/concurrency/branches
Tagshttps://github.com/iCodeBoxFox/concurrency/tags
https://github.com/iCodeBoxFox/concurrency/branches
https://github.com/iCodeBoxFox/concurrency/tags
67 Commitshttps://github.com/iCodeBoxFox/concurrency/commits/master/
https://github.com/iCodeBoxFox/concurrency/commits/master/
mediahttps://github.com/iCodeBoxFox/concurrency/tree/master/media
mediahttps://github.com/iCodeBoxFox/concurrency/tree/master/media
srchttps://github.com/iCodeBoxFox/concurrency/tree/master/src
srchttps://github.com/iCodeBoxFox/concurrency/tree/master/src
.gitignorehttps://github.com/iCodeBoxFox/concurrency/blob/master/.gitignore
.gitignorehttps://github.com/iCodeBoxFox/concurrency/blob/master/.gitignore
.travis.ymlhttps://github.com/iCodeBoxFox/concurrency/blob/master/.travis.yml
.travis.ymlhttps://github.com/iCodeBoxFox/concurrency/blob/master/.travis.yml
README.mdhttps://github.com/iCodeBoxFox/concurrency/blob/master/README.md
README.mdhttps://github.com/iCodeBoxFox/concurrency/blob/master/README.md
pom.xmlhttps://github.com/iCodeBoxFox/concurrency/blob/master/pom.xml
pom.xmlhttps://github.com/iCodeBoxFox/concurrency/blob/master/pom.xml
READMEhttps://github.com/iCodeBoxFox/concurrency
《Java并发编程实战》https://time.geekbang.org/column/intro/159
《java-concurrency-patterns》https://github.com/LeonardoZ/java-concurrency-patterns
《vjtools》https://github.com/vipshop/vjtools
https://travis-ci.org/Fadezed/concurrency
https://github.com/iCodeBoxFox/concurrency/blob/master/media/concurrency.png
https://github.com/iCodeBoxFox/concurrency#1序言及全览
https://github.com/iCodeBoxFox/concurrency#学习并发的原因
https://github.com/iCodeBoxFox/concurrency#并发编程解决的核心问题
https://github.com/iCodeBoxFox/concurrency#如何学习
https://github.com/iCodeBoxFox/concurrency/blob/master/media/15603298066863/11e0c64618c04edba52619f41aaa3565.png
https://github.com/iCodeBoxFox/concurrency#2抽象问题总结
https://github.com/iCodeBoxFox/concurrency#并发程序的背后
https://github.com/iCodeBoxFox/concurrency#缓存导致的可见性问题
代码示例https://github.com/Fadezed/concurrency/blob/master/src/main/java/com/example/concurrency/features/visibility/Visibility.java
https://github.com/iCodeBoxFox/concurrency/blob/master/media/15603316282468/a07e8182819e2b260ce85b2167d446da.png
https://github.com/iCodeBoxFox/concurrency/blob/master/media/15603316282468/e2aa76928b2bc135e08e7590ca36e0ea.png
https://github.com/iCodeBoxFox/concurrency#线程切换带来的原子性问题
代码示例https://github.com/Fadezed/concurrency/blob/master/src/main/java/com/example/concurrency/features/contentswitch/ContentSwitchTest.java
代码示例https://github.com/Fadezed/concurrency/blob/master/src/main/java/com/example/concurrency/features/atomic/AtomicCounter.java
https://github.com/iCodeBoxFox/concurrency/blob/master/media/15603316282468/254b129b145d80e9bb74123d6e620efb.png
https://github.com/iCodeBoxFox/concurrency/blob/master/media/15603316282468/33777c468872cb9a99b3cdc1ff597063.png
https://github.com/iCodeBoxFox/concurrency#编译优化带来的有序性问题
https://github.com/iCodeBoxFox/concurrency/blob/master/media/15603316282468/64c955c65010aae3902ec918412827d8.png
https://github.com/iCodeBoxFox/concurrency#3java内存模型
代码来源http://www.cs.umd.edu/~pugh/java/memoryModel/jsr-133-faq.html
https://github.com/iCodeBoxFox/concurrency#按需禁用缓存以及编译优化-代码来源
https://github.com/iCodeBoxFox/concurrency#volatile
代码示例https://github.com/Fadezed/concurrency/blob/master/src/main/java/com/example/concurrency/features/volatilecase/VolatileExample.java
https://github.com/iCodeBoxFox/concurrency#synchronized
https://github.com/iCodeBoxFox/concurrency/blob/master/media/15604993692307/waitSet.png
https://github.com/iCodeBoxFox/concurrency/blob/master/media/15604993692307/markWord.jpg
代码示例https://github.com/Fadezed/concurrency/blob/master/src/main/java/com/example/concurrency/features/synchronizedcase/SynchronizedExample.java
https://github.com/iCodeBoxFox/concurrency#final
代码示例https://github.com/Fadezed/concurrency/blob/master/src/main/java/com/example/concurrency/features/finalcase/FinalExample.java
https://github.com/iCodeBoxFox/concurrency#happens-before六大规则
https://github.com/iCodeBoxFox/concurrency/blob/master/media/15603924776282/b1fa541e98c74bc2a033d9ac5ae7fbe1.png
https://github.com/iCodeBoxFox/concurrency#4java线程的生命周期
代码示例https://github.com/Fadezed/concurrency/blob/master/src/main/java/com/example/concurrency/features/threadstate/ThreadState.java
https://github.com/iCodeBoxFox/concurrency#通用的线程生命周期
https://github.com/iCodeBoxFox/concurrency/blob/master/media/15604762340664/9bbc6fa7fb4d631484aa953626cf6ae5.png
https://github.com/iCodeBoxFox/concurrency#java-中线程的生命周期
https://github.com/iCodeBoxFox/concurrency/blob/master/media/15604762340664/3f6c6bf95a6e8627bdf3cb621bbb7f8c.png
https://github.com/iCodeBoxFox/concurrency#线程转换条件
https://github.com/iCodeBoxFox/concurrency#5多线程以及线程数确定
https://github.com/iCodeBoxFox/concurrency#多线程目的
https://github.com/iCodeBoxFox/concurrency#多线程应用场景
https://github.com/iCodeBoxFox/concurrency#多线程效果
https://github.com/iCodeBoxFox/concurrency/blob/master/media/15604803310321/d1d7dfa1d574356cc5cb1019a4b7ca22.png
https://github.com/iCodeBoxFox/concurrency/blob/master/media/15604803310321/68a415b31b72844eb81889e9f0eb3f2c.png
https://github.com/iCodeBoxFox/concurrency#线程数
https://github.com/iCodeBoxFox/concurrency/blob/master/media/15604803310321/98b71b72f01baf5f0968c7c3a2102fcb.png
https://github.com/iCodeBoxFox/concurrency#7-lock和condition
https://github.com/iCodeBoxFox/concurrency#重复造轮子的原因抑或lockcondition的优势
https://github.com/iCodeBoxFox/concurrency#体现在具体代码上就是lock接口的三个方法
https://github.com/iCodeBoxFox/concurrency#可重入锁reentrantlock
https://github.com/iCodeBoxFox/concurrency#公平锁和非公平锁
https://github.com/iCodeBoxFox/concurrency#用锁的最佳实践from-doug-lea
https://github.com/iCodeBoxFox/concurrency#8semaphore
https://github.com/iCodeBoxFox/concurrency#信号量模型
https://github.com/iCodeBoxFox/concurrency/blob/master/media/15607571303480/1.png
https://github.com/iCodeBoxFox/concurrency#方法语义
https://github.com/iCodeBoxFox/concurrency#使用方法
https://github.com/iCodeBoxFox/concurrency#实现互斥
https://github.com/iCodeBoxFox/concurrency#实现限流器semaphore-可以允许多个线程访问一个临界区
代码示例https://github.com/Fadezed/concurrency/blob/master/src/main/java/com/example/concurrency/features/semaphore/SemaphoreEx.java
https://github.com/iCodeBoxFox/concurrency#9readwritelockstampedlockcountdownlatchcyclicbarrier
https://github.com/iCodeBoxFox/concurrency#readwritelock-读写锁
代码示例https://github.com/Fadezed/concurrency/blob/master/src/main/java/com/example/concurrency/features/readwritelock/CacheByReadWriteLock.java
https://github.com/iCodeBoxFox/concurrency#stampedlock-加上乐观读无锁
代码示例https://github.com/Fadezed/concurrency/blob/master/src/main/java/com/example/concurrency/features/readwritelock/StampedLockEx.java
https://github.com/iCodeBoxFox/concurrency#countdownlatch
代码示例https://github.com/Fadezed/concurrency/blob/master/src/main/java/com/example/concurrency/features/countdownlatch/CountDownLatchEx.java
https://github.com/iCodeBoxFox/concurrency#cyclicbarrier
代码示例https://github.com/Fadezed/concurrency/blob/master/src/main/java/com/example/concurrency/features/cyclicbarrier/CyclicBarrierEx.java
https://github.com/iCodeBoxFox/concurrency#10-并发容器
https://github.com/iCodeBoxFox/concurrency#同步容器jdk15-之前
https://github.com/iCodeBoxFox/concurrency#包装安全类
https://github.com/iCodeBoxFox/concurrency#vectorstack-和-hashtable基于synchronized实现
https://github.com/iCodeBoxFox/concurrency#对同步容器做遍历操作时需要加锁保证互斥
https://github.com/iCodeBoxFox/concurrency#并发容器jdk15-之后
https://github.com/iCodeBoxFox/concurrency/blob/master/media/15607632412286/rongqi.png
https://github.com/iCodeBoxFox/concurrency#list
https://github.com/iCodeBoxFox/concurrency/blob/master/media/15607632412286/list1.png
https://github.com/iCodeBoxFox/concurrency/blob/master/media/15607632412286/list2.png
https://github.com/iCodeBoxFox/concurrency#map
https://github.com/iCodeBoxFox/concurrency#set
https://github.com/iCodeBoxFox/concurrency#queue
https://github.com/iCodeBoxFox/concurrency/blob/master/media/15607632412286/BlockingQueue1.png
https://github.com/iCodeBoxFox/concurrency/blob/master/media/15607632412286/blockingDeque.png
https://github.com/iCodeBoxFox/concurrency#11-原子类
代码示例https://github.com/Fadezed/concurrency/blob/master/src/main/java/com/example/concurrency/features/atomic/SimulatedCompareAndSwap.java
https://github.com/iCodeBoxFox/concurrency/blob/master/media/15608379390765/atomic.png
https://github.com/iCodeBoxFox/concurrency#原子化的基本数据类型
https://github.com/iCodeBoxFox/concurrency#原子化的对象引用类型
https://github.com/iCodeBoxFox/concurrency#原子化数组比基本类型多了数组的索引参数
https://github.com/iCodeBoxFox/concurrency#原子化对象属性更新器基于反射原子化更新对象属性对象属性必须是volitale保证可见性
https://github.com/iCodeBoxFox/concurrency#原子化累加器空间换时间只支持累加操作性能比原子化基本数据类型更好不支持compareandset
https://github.com/iCodeBoxFox/concurrency#12-线程池
https://github.com/iCodeBoxFox/concurrency#为什么要用线程池
https://github.com/iCodeBoxFox/concurrency#线程池是一种生产者-消费者模式非一般意义池化资源
代码示例https://github.com/Fadezed/concurrency/blob/master/src/main/java/com/example/concurrency/features/threadPool/MyThreadPool.java
https://github.com/iCodeBoxFox/concurrency#注意事项
https://github.com/iCodeBoxFox/concurrency#13-future
https://github.com/iCodeBoxFox/concurrency#获得任务执行结果
https://github.com/iCodeBoxFox/concurrency#futuretask工具类实现了runnablefuture而它继承了runnable和future接口
代码示例https://github.com/Fadezed/concurrency/blob/master/src/main/java/com/example/concurrency/features/futuretask/FutureTaskEx.java
Readme https://github.com/iCodeBoxFox/concurrency#readme-ov-file
Please reload this pagehttps://github.com/iCodeBoxFox/concurrency
Activityhttps://github.com/iCodeBoxFox/concurrency/activity
0 forkshttps://github.com/iCodeBoxFox/concurrency/forks
Report repository https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2FiCodeBoxFox%2Fconcurrency&report=iCodeBoxFox+%28user%29
Releaseshttps://github.com/iCodeBoxFox/concurrency/releases
Packages 0https://github.com/users/iCodeBoxFox/packages?repo_name=concurrency
Please reload this pagehttps://github.com/iCodeBoxFox/concurrency
Contributorshttps://github.com/iCodeBoxFox/concurrency/graphs/contributors
Please reload this pagehttps://github.com/iCodeBoxFox/concurrency
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.