| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/blob/*name(/*path) |
| route-controller | blob |
| route-action | show |
| fetch-nonce | v2:3d5d6d20-a89b-71f7-a548-8f0c9330c0c6 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | 90E6:2E1019:1560F40:1DE2BC7:6AFC197E |
| html-safe-nonce | fb08fe6343cb4b408a4be5f76a63594add35f8e8b5f16ba32ff4190a1021ea30 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEU2OjJFMTAxOToxNTYwRjQwOjFERTJCQzc6NkFGQzE5N0UiLCJ2aXNpdG9yX2lkIjoiNjU5MTQwNTkxNzc2ODI1OTk2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 544a66480be70676b427d2bfa63b4c0efa63e5faf417a0a585d6ee7ff9fc44e5 |
| hovercard-subject-tag | repository:224082117 |
| github-keyboard-shortcuts | repository,source-code,file-tree,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///blob/show |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md |
| twitter:image | https://opengraph.githubassets.com/2fe94a6c788a63d2e99f6b28f9df2bfdb1c51acd8a2abea288408f9569b6a5d2/StormCoderJ/JavaGuide |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2fe94a6c788a63d2e99f6b28f9df2bfdb1c51acd8a2abea288408f9569b6a5d2/StormCoderJ/JavaGuide |
| og:image:alt | 【Java学习+面试指南】 一份涵盖大部分Java程序员所需要掌握的核心知识。. Contribute to StormCoderJ/JavaGuide development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5d807316d0bce9f30e9356c906e531753532d2b72cc12f2f9024293415492f19 |
| turbo-cache-control | no-cache |
| go-import | github.com/StormCoderJ/JavaGuide git https://github.com/StormCoderJ/JavaGuide.git |
| octolytics-dimension-user_id | 32728438 |
| octolytics-dimension-user_login | StormCoderJ |
| octolytics-dimension-repository_id | 224082117 |
| octolytics-dimension-repository_nwo | StormCoderJ/JavaGuide |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 132464395 |
| octolytics-dimension-repository_parent_nwo | Snailclimb/JavaGuide |
| octolytics-dimension-repository_network_root_id | 132464395 |
| octolytics-dimension-repository_network_root_nwo | Snailclimb/JavaGuide |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 47ed8be1e5464ecf338b3e281a263bf600d93455 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#start-of-content |
| https://redirect.github.com/ |
| Sign in | https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2FStormCoderJ%2FJavaGuide%2Fblob%2Fmaster%2Fdocs%2Fjava%2FMultithread%2FAQS.md |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2FStormCoderJ%2FJavaGuide%2Fblob%2Fmaster%2Fdocs%2Fjava%2FMultithread%2FAQS.md |
| Sign up | https://redirect.github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fblob%2Fshow&source=header-repo&source_repo=StormCoderJ%2FJavaGuide |
| Reload | https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md |
| Reload | https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md |
| Reload | https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md |
| StormCoderJ | https://redirect.github.com/StormCoderJ |
| JavaGuide | https://redirect.github.com/StormCoderJ/JavaGuide |
| Code | https://redirect.github.com/StormCoderJ/JavaGuide |
| Pull requests | https://redirect.github.com/StormCoderJ/JavaGuide/pulls |
| Actions | https://redirect.github.com/StormCoderJ/JavaGuide/actions |
| Projects | https://redirect.github.com/StormCoderJ/JavaGuide/projects |
| Security and quality | https://redirect.github.com/StormCoderJ/JavaGuide/security |
| Insights | https://redirect.github.com/StormCoderJ/JavaGuide/pulse |
| https://redirect.github.com/StormCoderJ/JavaGuide |
| JavaGuide | https://redirect.github.com/StormCoderJ/JavaGuide/tree/master |
| docs | https://redirect.github.com/StormCoderJ/JavaGuide/tree/master/docs |
| java | https://redirect.github.com/StormCoderJ/JavaGuide/tree/master/docs/java |
| Multithread | https://redirect.github.com/StormCoderJ/JavaGuide/tree/master/docs/java/Multithread |
| History | https://redirect.github.com/StormCoderJ/JavaGuide/commits/master/docs/java/Multithread/AQS.md |
| https://redirect.github.com/StormCoderJ/JavaGuide/commits/master/docs/java/Multithread/AQS.md |
| JavaGuide | https://redirect.github.com/StormCoderJ/JavaGuide/tree/master |
| docs | https://redirect.github.com/StormCoderJ/JavaGuide/tree/master/docs |
| java | https://redirect.github.com/StormCoderJ/JavaGuide/tree/master/docs/java |
| Multithread | https://redirect.github.com/StormCoderJ/JavaGuide/tree/master/docs/java/Multithread |
| Raw | https://github.com/StormCoderJ/JavaGuide/raw/refs/heads/master/docs/java/Multithread/AQS.md |
| 公众号 | https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#%E5%85%AC%E4%BC%97%E5%8F%B7 |
| 1 AQS 简单介绍 | https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#1-aqs-%E7%AE%80%E5%8D%95%E4%BB%8B%E7%BB%8D |
| 2 AQS 原理 | https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#2-aqs-%E5%8E%9F%E7%90%86 |
| 2.1 AQS 原理概览 | https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#21-aqs-%E5%8E%9F%E7%90%86%E6%A6%82%E8%A7%88 |
| 2.2 AQS 对资源的共享方式 | https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#22-aqs-%E5%AF%B9%E8%B5%84%E6%BA%90%E7%9A%84%E5%85%B1%E4%BA%AB%E6%96%B9%E5%BC%8F |
| 2.3 AQS底层使用了模板方法模式 | https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#23-aqs%E5%BA%95%E5%B1%82%E4%BD%BF%E7%94%A8%E4%BA%86%E6%A8%A1%E6%9D%BF%E6%96%B9%E6%B3%95%E6%A8%A1%E5%BC%8F |
| 3 Semaphore(信号量)-允许多个线程同时访问 | https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#3-semaphore%E4%BF%A1%E5%8F%B7%E9%87%8F-%E5%85%81%E8%AE%B8%E5%A4%9A%E4%B8%AA%E7%BA%BF%E7%A8%8B%E5%90%8C%E6%97%B6%E8%AE%BF%E9%97%AE |
| 4 CountDownLatch (倒计时器) | https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#4-countdownlatch-%E5%80%92%E8%AE%A1%E6%97%B6%E5%99%A8 |
| 4.1 CountDownLatch 的三种典型用法 | https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#41-countdownlatch-%E7%9A%84%E4%B8%89%E7%A7%8D%E5%85%B8%E5%9E%8B%E7%94%A8%E6%B3%95 |
| 4.2 CountDownLatch 的使用示例 | https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#42-countdownlatch-%E7%9A%84%E4%BD%BF%E7%94%A8%E7%A4%BA%E4%BE%8B |
| 4.3 CountDownLatch 的不足 | https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#43-countdownlatch-%E7%9A%84%E4%B8%8D%E8%B6%B3 |
| 4.4 CountDownLatch相常见面试题: | https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#44-countdownlatch%E7%9B%B8%E5%B8%B8%E8%A7%81%E9%9D%A2%E8%AF%95%E9%A2%98 |
| 5 CyclicBarrier(循环栅栏) | https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#5-cyclicbarrier%E5%BE%AA%E7%8E%AF%E6%A0%85%E6%A0%8F |
| 5.1 CyclicBarrier 的应用场景 | https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#51-cyclicbarrier-%E7%9A%84%E5%BA%94%E7%94%A8%E5%9C%BA%E6%99%AF |
| 5.2 CyclicBarrier 的使用示例 | https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#52-cyclicbarrier-%E7%9A%84%E4%BD%BF%E7%94%A8%E7%A4%BA%E4%BE%8B |
| 5.3 CyclicBarrier和CountDownLatch的区别 | https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#53-cyclicbarrier%E5%92%8Ccountdownlatch%E7%9A%84%E5%8C%BA%E5%88%AB |
| 6 ReentrantLock 和 ReentrantReadWriteLock | https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#6-reentrantlock-%E5%92%8C-reentrantreadwritelock |
| https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#1-aqs-简单介绍 |
| https://camo.githubusercontent.com/a09887bb3d77580a15dd3fa2a8ec23c7f3cb7c8c668ac680000a66aa73c9e7d1/68747470733a2f2f6d792d626c6f672d746f2d7573652e6f73732d636e2d6265696a696e672e616c6979756e63732e636f6d2f4a6176612532302545372541382538422545352542412538462545352539312539382545352542462538352545352541342538372545462542432539412545352542392542362545352538462539312545372539462541352545382541462538362545372542332542422545372542422539462545362538302542422545372542422539332f4151532e706e67 |
| https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#2-aqs-原理 |
| https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#21-aqs-原理概览 |
| https://camo.githubusercontent.com/9f361153587bf75f5c1ad32aed8820d1eb42185503f76e96780fdd0471c63383/68747470733a2f2f6d792d626c6f672d746f2d7573652e6f73732d636e2d6265696a696e672e616c6979756e63732e636f6d2f4a6176612532302545372541382538422545352542412538462545352539312539382545352542462538352545352541342538372545462542432539412545352542392542362545352538462539312545372539462541352545382541462538362545372542332542422545372542422539462545362538302542422545372542422539332f434c482e706e67 |
| https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#22-aqs-对资源的共享方式 |
| https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#23-aqs底层使用了模板方法模式 |
| http://www.cnblogs.com/waterystone/p/4920797.html | http://www.cnblogs.com/waterystone/p/4920797.html |
| https://www.cnblogs.com/chengxiao/archive/2017/07/24/7141160.html | https://www.cnblogs.com/chengxiao/archive/2017/07/24/7141160.html |
| https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#3-semaphore信号量-允许多个线程同时访问 |
| https://blog.csdn.net/qq_19431333/article/details/70212663 | https://blog.csdn.net/qq_19431333/article/details/70212663 |
| https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#4-countdownlatch-倒计时器 |
| https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#41-countdownlatch-的三种典型用法 |
| https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#42-countdownlatch-的使用示例 |
| https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#43-countdownlatch-的不足 |
| https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#44-countdownlatch相常见面试题 |
| https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#5-cyclicbarrier循环栅栏 |
| https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#51-cyclicbarrier-的应用场景 |
| https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#52-cyclicbarrier-的使用示例 |
| https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#53-cyclicbarrier和countdownlatch的区别 |
| https://camo.githubusercontent.com/1e270651d8c843983af222e48695174444a0d3132c6bdfb9d67b7d781b92ec2d/68747470733a2f2f6d792d626c6f672d746f2d7573652e6f73732d636e2d6265696a696e672e616c6979756e63732e636f6d2f4a6176612532302545372541382538422545352542412538462545352539312539382545352542462538352545352541342538372545462542432539412545352542392542362545352538462539312545372539462541352545382541462538362545372542332542422545372542422539462545362538302542422545372542422539332f4151533333332e706e67 |
| https://blog.csdn.net/u010185262/article/details/54692886 | https://blog.csdn.net/u010185262/article/details/54692886 |
| https://blog.csdn.net/tolcf/article/details/50925145?utm_source=blogxgwz0 | https://blog.csdn.net/tolcf/article/details/50925145?utm_source=blogxgwz0 |
| https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#6-reentrantlock-和-reentrantreadwritelock |
| https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#公众号 |
| 公众号 | https://redirect.github.com/StormCoderJ/JavaGuide/blob/master/docs/java/Multithread/AQS.md#%E5%85%AC%E4%BC%97%E5%8F%B7 |
| https://camo.githubusercontent.com/f68ffa7d5e79038b52f24417708d586f5c5a380d917924f9f26c923c035bafa6/68747470733a2f2f6d792d626c6f672d746f2d7573652e6f73732d636e2d6265696a696e672e616c6979756e63732e636f6d2f323031392d362f313637353938636432653137623865632e706e67 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |