| 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:e69f13f7-58dc-1427-dfba-f1527ea3781d |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | 861E:248DA8:175417A:1E57E47:6B05105C |
| html-safe-nonce | d8e1098598b9df0973be070ed99e443391e062b3f652494d5bc09a8d2b08f1f2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjFFOjI0OERBODoxNzU0MTdBOjFFNTdFNDc6NkIwNTEwNUMiLCJ2aXNpdG9yX2lkIjoiNDExMzA4MDc2NDUyNDU1MzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 049caefc8d1550771a66b44d8ac94b26de25948b35f6023ddbfd754b7350a79a |
| hovercard-subject-tag | repository:787979215 |
| 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/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md |
| twitter:image | https://opengraph.githubassets.com/85de90c35444b4c503bd1a9c92d7bf0a42f246bcd6655049b84e45562813ef90/NUVEER/bestJavaer |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/85de90c35444b4c503bd1a9c92d7bf0a42f246bcd6655049b84e45562813ef90/NUVEER/bestJavaer |
| og:image:alt | 这是一个成为更好的Java程序员的系列教程. Contribute to NUVEER/bestJavaer 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 | 854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b |
| turbo-cache-control | no-cache |
| go-import | github.com/NUVEER/bestJavaer git https://github.com/NUVEER/bestJavaer.git |
| octolytics-dimension-user_id | 12027364 |
| octolytics-dimension-user_login | NUVEER |
| octolytics-dimension-repository_id | 787979215 |
| octolytics-dimension-repository_nwo | NUVEER/bestJavaer |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 269198820 |
| octolytics-dimension-repository_parent_nwo | crisxuan/bestJavaer |
| octolytics-dimension-repository_network_root_id | 269198820 |
| octolytics-dimension-repository_network_root_nwo | crisxuan/bestJavaer |
| 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 | 220e980097d94ce616d5d11fbd5316d208e3fc93 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNUVEER%2FbestJavaer%2Fblob%2Fmaster%2Fjava-concurrent%2Fjava-atomicInteger.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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNUVEER%2FbestJavaer%2Fblob%2Fmaster%2Fjava-concurrent%2Fjava-atomicInteger.md |
| 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%2Fblob%2Fshow&source=header-repo&source_repo=NUVEER%2FbestJavaer |
| Reload | https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md |
| Reload | https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md |
| Reload | https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md |
| NUVEER | https://github.com/NUVEER |
| bestJavaer | https://github.com/NUVEER/bestJavaer |
| Code | https://github.com/NUVEER/bestJavaer |
| Pull requests | https://github.com/NUVEER/bestJavaer/pulls |
| Actions | https://github.com/NUVEER/bestJavaer/actions |
| Projects | https://github.com/NUVEER/bestJavaer/projects |
| Security and quality | https://github.com/NUVEER/bestJavaer/security |
| Insights | https://github.com/NUVEER/bestJavaer/pulse |
| https://github.com/NUVEER/bestJavaer |
| bestJavaer | https://github.com/NUVEER/bestJavaer/tree/master |
| java-concurrent | https://github.com/NUVEER/bestJavaer/tree/master/java-concurrent |
| History | https://github.com/NUVEER/bestJavaer/commits/master/java-concurrent/java-atomicInteger.md |
| https://github.com/NUVEER/bestJavaer/commits/master/java-concurrent/java-atomicInteger.md |
| bestJavaer | https://github.com/NUVEER/bestJavaer/tree/master |
| java-concurrent | https://github.com/NUVEER/bestJavaer/tree/master/java-concurrent |
| Raw | https://github.com/NUVEER/bestJavaer/raw/refs/heads/master/java-concurrent/java-atomicInteger.md |
| https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#atomicinteger-的用法和实现原理 |
| AtomicInteger 的用法和实现原理 | https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#atomicinteger-%E7%9A%84%E7%94%A8%E6%B3%95%E5%92%8C%E5%AE%9E%E7%8E%B0%E5%8E%9F%E7%90%86 |
| 了解 AtomicInteger | https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#%E4%BA%86%E8%A7%A3-atomicinteger |
| AtomicInteger 的基本属性 | https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#atomicinteger-%E7%9A%84%E5%9F%BA%E6%9C%AC%E5%B1%9E%E6%80%A7 |
| AtomicInteger 的构造方法 | https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#atomicinteger-%E7%9A%84%E6%9E%84%E9%80%A0%E6%96%B9%E6%B3%95 |
| AtomicInteger 中的方法 | https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#atomicinteger-%E4%B8%AD%E7%9A%84%E6%96%B9%E6%B3%95 |
| Get 和 Set | https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#get--%E5%92%8C-set |
| Incremental 操作 | https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#incremental-%E6%93%8D%E4%BD%9C |
| Decremental 操作 | https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#decremental-%E6%93%8D%E4%BD%9C |
| LazySet 方法 | https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#lazyset-%E6%96%B9%E6%B3%95 |
| GetAndSet 方法 | https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#getandset-%E6%96%B9%E6%B3%95 |
| CAS 方法 | https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#cas-%E6%96%B9%E6%B3%95 |
| AddAndGet | https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#addandget |
| 深入 AtomicInteger | https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#%E6%B7%B1%E5%85%A5-atomicinteger |
| AtomicInteger 的底层实现原理 | https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#atomicinteger-%E7%9A%84%E5%BA%95%E5%B1%82%E5%AE%9E%E7%8E%B0%E5%8E%9F%E7%90%86 |
| 乐观锁 | https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#%E4%B9%90%E8%A7%82%E9%94%81 |
| ABA 问题 | https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#aba-%E9%97%AE%E9%A2%98 |
| 后记 | https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#%E5%90%8E%E8%AE%B0 |
| https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#了解-atomicinteger |
| https://camo.githubusercontent.com/256d276adcde294f90910dbf03646a185922cc06588035156736dcd948596e50/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230373133333633353830332e706e67 |
| https://camo.githubusercontent.com/7b4229984b44c3eb071a1e6624b6a08c0f970ea667337deb3c7ca154bb820366/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230373133333634393738362e706e67 |
| https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#atomicinteger-的基本属性 |
| https://camo.githubusercontent.com/82510f417dc5031d746ade028e8b49c67f7d8639d59b37470d6314c233d50f3b/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230373133333730343032342e706e67 |
| https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#atomicinteger-的构造方法 |
| https://camo.githubusercontent.com/32cd89bd6a5739324c840da4b6a096bea96c7917a38a78ee05b171e04a963294/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230373133333732303836352e706e67 |
| https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#atomicinteger-中的方法 |
| https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#get--和-set |
| https://camo.githubusercontent.com/65f9edf080b90b3d13522f7f72fe73482d026ae079336bded24dfbe68bd10259/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230373133333734363234332e706e67 |
| https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#incremental-操作 |
| https://camo.githubusercontent.com/8d6746f1e3085b1e5c7637e9ecb4b239e0f67a87042749d04a2d6ed86517f9b3/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230373133333831303435342e706e67 |
| https://camo.githubusercontent.com/efc7dde6c42d2fcb1d428074353efe863164d01e96a948c7ce3b62d102d573cb/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230373133333931383135382e706e67 |
| https://camo.githubusercontent.com/3c759e1d056ad6c9291de2abcb9e086f29d29da164a5d844783056246c67ef30/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230373133333933373939342e706e67 |
| https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#decremental-操作 |
| https://camo.githubusercontent.com/16e6504253f13abf4f04e29b281595e5599b9faec37b0a95a19026618d471812/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230373133343033363531332e706e67 |
| https://camo.githubusercontent.com/333cd5891ee929f96ea205bb23339079f6e4d582111c6b6d2bd6599e84005cac/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230373133343131363036312e706e67 |
| https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#lazyset-方法 |
| https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#getandset-方法 |
| https://camo.githubusercontent.com/84b4206d653e0c1577df286335117967b15c36be2fd9584a2e1a0cabf1bc1704/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230373133343332383337322e706e67 |
| https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#cas-方法 |
| https://camo.githubusercontent.com/50a85e9115bb2b68154dff8cca3f259e098574f29b2a0d8543f8f7539c02c591/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230373133343335303035372e706e67 |
| https://camo.githubusercontent.com/b48ec7aef04297e2f30afad76e5c8d0db5d7c91751ab002d13ed90e72839c798/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230373133353431363933352e706e67 |
| https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#addandget |
| https://camo.githubusercontent.com/44261a80f5be3afbb0cc9752024bc3210555b9d28e19ade675b8358cc128de4f/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230373133353433363336372e706e67 |
| https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#深入-atomicinteger |
| https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#atomicinteger-的底层实现原理 |
| https://camo.githubusercontent.com/81c814efbb36cd1d31b2bdfccc90d20f106318b268f8df84beed9333ad33b481/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230373133353435313734302e706e67 |
| https://camo.githubusercontent.com/c63d5c71c780f4e85892d240b16744cc92d470e776687e553a0c908e1535951b/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230373133353530333637392e706e67 |
| https://camo.githubusercontent.com/b9cef51f2312000bfea74bb408ac10c44735d8c16fffc2d31c01dbb902cef2d6/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230373133353532303538362e706e67 |
| https://camo.githubusercontent.com/6d3045ef31a62f6a594a95f7e79811a8899739f81abcbcf047a2458660c6cca8/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230373133353533313239312e706e67 |
| https://camo.githubusercontent.com/9aa1ebcd9e049e65964ecccaf593e6ef5c84c47860369a6c482320113d8e00eb/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230373133353534353338392e706e67 |
| https://camo.githubusercontent.com/82a17eb5bcd0567e61942de29e083b3f50712ab0daca96de2b8889b3176eaaa4/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230373133353630303236302e706e67 |
| https://camo.githubusercontent.com/4a4f10436ccb84c680d3986b0949cf46219611eb4149d3498297153196eba0e4/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230373133353631323535322e706e67 |
| https://camo.githubusercontent.com/c7161300c68197da32b4168d0d5f623e010bf4681d82c07f59dfb4732f68ef7d/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230373133353633303431362e706e67 |
| https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#乐观锁 |
| https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#aba-问题 |
| https://camo.githubusercontent.com/e420fcd18571e2e6f2c3986d96917bdc7a77616130e0149be6970a77b3b36625/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230373133353634373735352e706e67 |
| https://camo.githubusercontent.com/07d1100c44fe9d1d8fe0e2401b0e68339c60394316fb77998d85e29cfb28f282/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230373133353730303538362e706e67 |
| https://camo.githubusercontent.com/95c3825c4eaff362d88caaff8ca2d969aea70003017ca48fa67a335a98a3ebb6/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230373133353732353239362e706e67 |
| https://camo.githubusercontent.com/7405e966aeb8374aab2141175d0619f530a0e5a6d51bf4e8ff2c58a4a9e2711c/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230373133353733353636332e706e67 |
| https://camo.githubusercontent.com/0fba9d3bb1deedfcdd3dd497e2cc98d873956047895a937fb600372bf14c17db/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230373133353735333933322e706e67 |
| https://camo.githubusercontent.com/5b15dc3d0b6a5fa30e0098029b3dd529606f25fbc6bac5c5e27fa9f081083fea/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230373133353830383732382e706e67 |
| https://camo.githubusercontent.com/20de03ccc7e9664c04f61635f9ea74e04d54d5591ecc0d01c64470301551605f/687474703a2f2f7777772e637875616e2e7669702f696d6167652d32303233303230373133353832303837312e706e67 |
| https://github.com/NUVEER/bestJavaer/blob/master/java-concurrent/java-atomicInteger.md#后记 |
|
| 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 |