René's URL Explorer Experiment


Title: JavaGuide-Interview/docs/java/java-concurrent.md at master · foixes/JavaGuide-Interview · GitHub

Open Graph Title: JavaGuide-Interview/docs/java/java-concurrent.md at master · foixes/JavaGuide-Interview

X Title: JavaGuide-Interview/docs/java/java-concurrent.md at master · foixes/JavaGuide-Interview

Description: JavaGuide面试突击版,Java 学习&面试突击(Go、Python 后端面试通用,计算机基础面试总结) - JavaGuide-Interview/docs/java/java-concurrent.md at master · foixes/JavaGuide-Interview

Open Graph Description: JavaGuide面试突击版,Java 学习&面试突击(Go、Python 后端面试通用,计算机基础面试总结) - foixes/JavaGuide-Interview

X Description: JavaGuide面试突击版,Java 学习&面试突击(Go、Python 后端面试通用,计算机基础面试总结) - foixes/JavaGuide-Interview

Opengraph URL: https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/blob/*name(/*path)
route-controllerblob
route-actionshow
fetch-noncev2:089722ce-8a9a-ba02-d8d1-7cb14bb25b3a
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idAB88:1CA946:70080C:977AB3:6A57DC94
html-safe-noncebad0906af5f40fc387311388a46856d630e42bd4a89564965e0e1564c2034398
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjg4OjFDQTk0Njo3MDA4MEM6OTc3QUIzOjZBNTdEQzk0IiwidmlzaXRvcl9pZCI6IjQ5MjkyOTYzNzM1NTQ2MDExMDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb498b10b378b8d9a62067fd86648ce24ecddd74b58737866c31dd1a8b7d8990c
hovercard-subject-tagrepository:1195273453
github-keyboard-shortcutsrepository,source-code,file-tree,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///blob/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md
twitter:imagehttps://opengraph.githubassets.com/276fc5163ae3e0ff69289a46742450f4a54c1a751f9fd86b08ab128580c73e42/foixes/JavaGuide-Interview
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/276fc5163ae3e0ff69289a46742450f4a54c1a751f9fd86b08ab128580c73e42/foixes/JavaGuide-Interview
og:image:altJavaGuide面试突击版,Java 学习&面试突击(Go、Python 后端面试通用,计算机基础面试总结) - foixes/JavaGuide-Interview
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None837767abbd14b05f219fd812ef2842c659968b63619e1b966dded83972ab5bca
turbo-cache-controlno-cache
go-importgithub.com/foixes/JavaGuide-Interview git https://github.com/foixes/JavaGuide-Interview.git
octolytics-dimension-user_id108614831
octolytics-dimension-user_loginfoixes
octolytics-dimension-repository_id1195273453
octolytics-dimension-repository_nwofoixes/JavaGuide-Interview
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id251061141
octolytics-dimension-repository_parent_nwoSnailclimb/JavaGuide-Interview
octolytics-dimension-repository_network_root_id251061141
octolytics-dimension-repository_network_root_nwoSnailclimb/JavaGuide-Interview
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
release36b9c371e4e031091f1b89adf913d9e6993943df
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffoixes%2FJavaGuide-Interview%2Fblob%2Fmaster%2Fdocs%2Fjava%2Fjava-concurrent.md
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%2Ffoixes%2FJavaGuide-Interview%2Fblob%2Fmaster%2Fdocs%2Fjava%2Fjava-concurrent.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=foixes%2FJavaGuide-Interview
Reloadhttps://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md
Reloadhttps://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md
Reloadhttps://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md
foixes https://github.com/foixes
JavaGuide-Interviewhttps://github.com/foixes/JavaGuide-Interview
Snailclimb/JavaGuide-Interviewhttps://github.com/Snailclimb/JavaGuide-Interview
Notifications https://github.com/login?return_to=%2Ffoixes%2FJavaGuide-Interview
Fork 0 https://github.com/login?return_to=%2Ffoixes%2FJavaGuide-Interview
Star 0 https://github.com/login?return_to=%2Ffoixes%2FJavaGuide-Interview
Code https://github.com/foixes/JavaGuide-Interview
Pull requests 0 https://github.com/foixes/JavaGuide-Interview/pulls
Actions https://github.com/foixes/JavaGuide-Interview/actions
Projects https://github.com/foixes/JavaGuide-Interview/projects
Security and quality 0 https://github.com/foixes/JavaGuide-Interview/security
Insights https://github.com/foixes/JavaGuide-Interview/pulse
Code https://github.com/foixes/JavaGuide-Interview
Pull requests https://github.com/foixes/JavaGuide-Interview/pulls
Actions https://github.com/foixes/JavaGuide-Interview/actions
Projects https://github.com/foixes/JavaGuide-Interview/projects
Security and quality https://github.com/foixes/JavaGuide-Interview/security
Insights https://github.com/foixes/JavaGuide-Interview/pulse
https://github.com/foixes/JavaGuide-Interview
JavaGuide-Interviewhttps://github.com/foixes/JavaGuide-Interview/tree/master
docshttps://github.com/foixes/JavaGuide-Interview/tree/master/docs
javahttps://github.com/foixes/JavaGuide-Interview/tree/master/docs/java
Historyhttps://github.com/foixes/JavaGuide-Interview/commits/master/docs/java/java-concurrent.md
https://github.com/foixes/JavaGuide-Interview/commits/master/docs/java/java-concurrent.md
JavaGuide-Interviewhttps://github.com/foixes/JavaGuide-Interview/tree/master
docshttps://github.com/foixes/JavaGuide-Interview/tree/master/docs
javahttps://github.com/foixes/JavaGuide-Interview/tree/master/docs/java
Rawhttps://github.com/foixes/JavaGuide-Interview/raw/refs/heads/master/docs/java/java-concurrent.md
JavaGuidehttps://javaguide.cn/
Java并发常见面试题总结(上)https://javaguide.cn/java/concurrent/java-concurrent-questions-01.html
Java并发常见面试题总结(中)https://javaguide.cn/java/concurrent/java-concurrent-questions-02.html
Java并发常见面试题总结(下)https://javaguide.cn/java/concurrent/java-concurrent-questions-03.html
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#线程
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#️什么是线程和进程
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#何为进程
https://camo.githubusercontent.com/5c00f51394def3a95ca48de3715f8136254e21b4cac0d8859f7c62b739482e9b/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f6a6176612f2545382542462539422545372541382538422545372541342542412545342542452538422545352539422542452545372538392538372d57696e646f77732e706e67
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#何为线程
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#java-线程和操作系统的线程有啥区别
https://camo.githubusercontent.com/41164b200e3b56cc54ac8be8f1f57c84198228fbb444c9b481791ff3829d4d71/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f6a6176612f636f6e63757272656e742f74687265652d74797065732d6f662d7468726561642d6d6f64656c732e706e67
JVM 中的线程模型是用户级的么?https://www.zhihu.com/question/23096638/answer/29617153
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#️请简要描述线程与进程的关系区别及优缺点
https://camo.githubusercontent.com/f771334bc8b9c6de0a42245b3dff956a8c8f77c1bc5727fe2c978c61b61dc6fd/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f6a6176612f6a766d2f6a6176612d72756e74696d652d646174612d61726561732d6a646b312e382e706e67
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#如何创建线程
大家都说 Java 有三种创建线程的方式!并发编程中的惊天骗局!https://mp.weixin.qq.com/s/NspUsyhEmKnJ-4OprRFp9g
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#️说说线程的生命周期和状态
挑错 |《Java 并发编程的艺术》中关于线程状态的三处错误https://mp.weixin.qq.com/s/0UTyrJpRKaKhkhHcQtXAiA
https://camo.githubusercontent.com/20da4ea0f3e18c210e6df2f6d7bbbc0526f0e0cc092ad72abf2b2e73a2faa3a6/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f6a6176612f636f6e63757272656e742f3634302e706e67
HowToDoInJavahttps://howtodoinJava.com/
Java Thread Life Cycle and Thread Stateshttps://howtodoinJava.com/Java/multi-threading/Java-thread-life-cycle-and-thread-states/
Java 线程运行怎么有第六种状态? - Dawell 的回答https://www.zhihu.com/question/56494969/answer/154053599
https://camo.githubusercontent.com/11d83bbac1750ae279eadd4aec1c0fd055e48ca4ce4d6ff64ec14cfe7bbc9dae/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f6a6176612f52554e4e41424c452d56532d52554e4e494e472e706e67
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#什么是线程上下文切换
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#threadsleep-方法和-objectwait-方法对比
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#为什么-wait-方法不定义在-thread-中
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#可以直接调用-thread-类的-run-方法吗
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#多线程
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#并发与并行的区别
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#同步和异步的区别
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#️为什么要使用多线程
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#️单核-cpu-支持-java-多线程吗
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#️单核-cpu-上运行多个线程效率一定会高吗
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#使用多线程可能带来什么问题
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#如何理解线程安全和不安全
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#️死锁
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#什么是线程死锁
https://camo.githubusercontent.com/e66c6086d77fbce0bb51f27fddd9b5c85b11ddadaf906c894accecdc947972d0/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f6a6176612f323031392d34254536254144254242254539253934253831312e706e67
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#如何检测死锁
https://camo.githubusercontent.com/a0cc60abaf2cfffd81124bbdc2242acae55559130aaf867c7ba351d38bf7fa84/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f6a6176612f636f6e63757272656e742f6a646b2d686f6d652d62696e2d6a636f6e736f6c652e706e67
https://camo.githubusercontent.com/bb0ec9a3145d1be80d025666175ea76f4449f6caa2d21e5b28371aab5c0307f6/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f6a6176612f636f6e63757272656e742f6a636f6e736f6c652d636865636b2d646561646c6f636b2e706e67
https://camo.githubusercontent.com/eb6a471acfb677006a4ee45a41b448dfebee691d533574603697c611464b0515/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f6a6176612f636f6e63757272656e742f6a636f6e736f6c652d636865636b2d646561646c6f636b2d646f6e652e706e67
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#如何预防和避免线程死锁
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#️jmmjava-内存模型
JMM(Java 内存模型)详解https://javaguide.cn/java/concurrent/jmm.html
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#️volatile-关键字
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#如何保证变量的可见性
https://camo.githubusercontent.com/53d012c621364ca26071ace8c9bc6fc3af64ba9fde6a589c6c2d170c9ee2bf0b/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f6a6176612f636f6e63757272656e742f6a6d6d2e706e67
https://camo.githubusercontent.com/267550eac5476a8539082000294ed0c9ca57b2ff81b252f80ebb3703c214fef8/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f6a6176612f636f6e63757272656e742f6a6d6d322e706e67
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#如何禁止指令重排序
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#volatile-可以保证原子性么
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#️乐观锁和悲观锁
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#什么是悲观锁
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#什么是乐观锁
https://camo.githubusercontent.com/be5752157abfa3f3ad867f63d1aa8ca7f36ce5dda11a0f487728a6971fa57299/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f6a6176612f4a55432545352538452539462545352541442539302545372542312542422545362541362538322545382541372538382d32303233303831343030353231313936382e706e67
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#如何实现乐观锁
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#版本号机制
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#cas-算法
Java 魔法类 Unsafe 详解 - JavaGuide - 2022https://javaguide.cn/java/basis/unsafe.html
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#java-中-cas-是如何实现的
Java 魔法类 Unsafe 详解https://javaguide.cn/java/basis/unsafe.html
https://camo.githubusercontent.com/caabc544440695f90dcfeda3847e2e023d46ad28b59fefb0b40c1935f82e87ab/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f6a6176612f4a55432545352538452539462545352541442539302545372542312542422545362541362538322545382541372538382e706e67
Atomic 原子类总结https://javaguide.cn/java/concurrent/atomic-classes.html
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#cas-算法存在哪些问题
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#aba-问题
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#循环时间长开销大
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#只能保证一个共享变量的原子操作
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#synchronized-关键字
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#synchronized-是什么有什么用
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#如何使用-synchronized
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#构造方法可以用-synchronized-修饰么
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#️synchronized-底层原理了解吗
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#synchronized-同步语句块的情况
https://camo.githubusercontent.com/a480e422b9183d27906adc6d4199b4f15bded8a841be4fd87dbc8d5202c388f5/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f6a6176612f636f6e63757272656e742f73796e6368726f6e697a65642d7072696e6369706c652e706e67
ObjectMonitorhttps://github.com/openjdk-mirror/jdk7u-hotspot/blob/50bdefc3afe944ca74c3093e7448d6b889cd20d1/src/share/vm/runtime/objectMonitor.cpp
https://camo.githubusercontent.com/1077a37001e7e90f84c90efb5e48c8b167e1274dead662ed589bd2881c851c6d/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f6a6176612f636f6e63757272656e742f73796e6368726f6e697a65642d6765742d6c6f636b2d636f64652d626c6f636b2e706e67
https://camo.githubusercontent.com/21fef71a9fbc14edbe4a5d273b58fab76d600947533d4dcabfdd784a56c668f8/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f6a6176612f636f6e63757272656e742f73796e6368726f6e697a65642d72656c656173652d6c6f636b2d626c6f636b2e706e67
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#synchronized-修饰方法的情况
https://camo.githubusercontent.com/f817922325229e3f24dbf49f1be6fa816c3095c9d31f866ab497914b8b411879/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f73796e6368726f6e697a6564254535253835254233254539253934254145254535254144253937254535253845253946254537253930253836322e706e67
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#总结
Java 锁与线程的那些事 - 有赞技术团队https://tech.youzan.com/javasuo-yu-xian-cheng-de-na-xie-shi/
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#jdk16-之后的-synchronized-底层做了哪些优化锁升级原理了解吗
浅析 synchronized 锁升级的原理与实现https://www.cnblogs.com/star95/p/17542850.html
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#synchronized-的偏向锁为什么被废弃了
JEP 374: Deprecate and Disable Biased Lockinghttps://openjdk.org/jeps/374
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#️synchronized-和-volatile-有什么区别
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#reentrantlock
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#reentrantlock-是什么
https://camo.githubusercontent.com/2f1d8d25cf472b1d5e3c1fe72df313f5bee5c95446476a761bf4b0b951902968/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f6a6176612f636f6e63757272656e742f7265656e7472616e746c6f636b2d636c6173732d6469616772616d2e706e67
AQS 详解https://javaguide.cn/java/concurrent/aqs.html
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#公平锁和非公平锁有什么区别
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#️synchronized-和-reentrantlock-有什么区别
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#两者都是可重入锁
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#synchronized-依赖于-jvm-而-reentrantlock-依赖于-api
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#reentrantlock-比-synchronized-增加了一些高级功能
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#可中断锁和不可中断锁有什么区别
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#reentrantreadwritelock
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#reentrantreadwritelock-是什么
https://camo.githubusercontent.com/8749c0acd96f5a13ea260d8ef0ddf76277170073e72c6486cebcc8f175b8378a/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f6a6176612f636f6e63757272656e742f7265656e7472616e747265616477726974656c6f636b2d636c6173732d6469616772616d2e706e67
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#reentrantreadwritelock-适合什么场景
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#共享锁和独占锁有什么区别
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#线程持有读锁还能获取写锁吗
聊聊 Java 的几把 JVM 级锁 - 阿里巴巴中间件https://mp.weixin.qq.com/s/h3VIUyH9L0v14MrQJiiDbw
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#读锁为什么不能升级为写锁
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#threadlocal
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#threadlocal-有什么用
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#️threadlocal-原理了解吗
https://camo.githubusercontent.com/128d3dcee34b5589876ad0e0eea8316e6543aa83fa8562b4b2316718642f8d4b/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f6a6176612f636f6e63757272656e742f7468726561646c6f63616c2d646174612d7374727563747572652e706e67
https://camo.githubusercontent.com/89216bb7bb8d28953ecdf02ef39a0839d83ec754fd6aa7ea1ff796cd517137cb/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f6a6176612f636f6e63757272656e742f7468726561642d6c6f63616c2d696e6e65722d636c6173732e706e67
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#️threadlocal-内存泄露问题是怎么导致的
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#️如何跨线程传递-threadlocal-的值
https://github.com/alibaba/transmittable-thread-localhttps://github.com/alibaba/transmittable-thread-local
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#inheritablethreadlocal-原理
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#transmittablethreadlocal-原理
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#应用场景
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#线程池
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#什么是线程池
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#️为什么要用线程池
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#如何创建线程池
https://camo.githubusercontent.com/d8d7ed4fddcf38e62ffe2928d103e7d760381f28833438210266cc964e4217bd/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f6a6176612f636f6e63757272656e742f746872656164706f6f6c6578656375746f722d636f6e73747275746f72732e706e67
https://camo.githubusercontent.com/036e2650c5f7873b2c045230d0ad69d6a8a8b92fb3683a69e51626b8fe1a2f8d/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f6a6176612f636f6e63757272656e742f6578656375746f72732d6e65772d7468726561642d706f6f6c2d6d6574686f64732e706e67
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#️为什么不推荐使用内置线程池
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#️线程池常见参数有哪些如何解释
https://camo.githubusercontent.com/5ef838172f4fdb9e40aa2c6d8e33440b594966e7b16256c7474aae93896582cb/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f6a6176612f636f6e63757272656e742f72656c6174696f6e736869702d6265747765656e2d7468726561642d706f6f6c2d706172616d65746572732e706e67
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#线程池的核心线程会被回收吗
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#核心线程空闲时处于什么状态
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#️线程池的拒绝策略有哪些
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#如果不允许丢弃任务应该选择哪个拒绝策略
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#callerrunspolicy-拒绝策略有什么风险如何解决
https://camo.githubusercontent.com/0f60f8dbef54a5e17b20f00b0e54295b577e8bdf0e831c37ab12e9dfd3d5269f/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f6a6176612f636f6e63757272656e742f746872656164706f6f6c2d72656a6563742d322d746872656164706f6f6c2d72656a6563742d30312e706e67
https://camo.githubusercontent.com/3b87e4021ae7db4f8dea8734800c775e7d7e77fd41b6efc8a25ad1ff712797da/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f6a6176612f636f6e63757272656e742f746872656164706f6f6c2d72656a6563742d322d746872656164706f6f6c2d72656a6563742d30322e706e67
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#线程池常用的阻塞队列有哪些
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#️线程池处理任务的流程了解吗
https://camo.githubusercontent.com/42da605aaa31a0a11cdd2d01725e25ac4f93f7b3adebf4a6059069db1c6bb2ae/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f6a6176612f636f6e63757272656e742f7468726561642d706f6f6c2d7072696e6369706c652e706e67
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#️线程池中线程异常后销毁还是复用
线程池中线程异常后:销毁还是复用? - 京东技术https://mp.weixin.qq.com/s/9ODjdUU-EwQFF5PrnzOGfw
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#️如何给线程池命名
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#如何设定线程池的大小
issue#1737https://github.com/Snailclimb/JavaGuide/issues/1737
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#️如何动态修改线程池的参数
《Java 线程池实现原理及其在美团业务中的实践》https://tech.meituan.com/2020/04/02/java-pooling-pratice-in-meituan.html
Java 线程池详解https://javaguide.cn/java/concurrent/java-thread-pool-summary.html
https://camo.githubusercontent.com/e6ab5c7d3734c8c22057df6974bdaa438f1df0df901a25656c9ca8a0314730df/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f6a6176612f636f6e63757272656e742f746872656164706f6f6c6578656375746f722d6d6574686f64732e706e67
https://camo.githubusercontent.com/86cfb2c079fe400b5475e26d6b856714df8f23f9567fc41fb0c241749e7908e1/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f6a6176612f636f6e63757272656e742f6d65697475616e2d64796e616d6963616c6c792d636f6e6669677572696e672d7468726561642d706f6f6c2d706172616d65746572732e706e67
《后端面试高频系统设计&场景题》https://javaguide.cn/zhuanlan/back-end-interview-high-frequency-system-design-and-scenario-questions.html
https://camo.githubusercontent.com/bbc8e0a8f60d22378708b596bd99ec6e983d03598a60effa72ea97b79159acf9/68747470733a2f2f6f73732e6a61766167756964652e636e2f78696e677169752f6261636b2d656e642d696e746572766965772d686967682d6672657175656e63792d73797374656d2d64657369676e2d616e642d7363656e6172696f2d7175657374696f6e732d66656e676d69616e2e706e67
Hippo4jhttps://github.com/opengoofy/hippo4j
Dynamic TPhttps://github.com/dromara/dynamic-tp
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#️如何设计一个能够根据任务的优先级来执行的线程池
https://camo.githubusercontent.com/3182fdd8bbc6affb67682a49c1c717971e4a73aefd1d75e84be52f652ff5e1a8/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f6a6176612f636f6e63757272656e742f636f6d6d6f6e2d706172616d65746572732d6f662d746872656164706f6f6c2d776f726b71756575652e6a7067
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#future
CompletableFuture 详解https://javaguide.cn/java/concurrent/completablefuture-intro.html
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#future-类有什么用
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#callable-和-future-有什么关系
https://camo.githubusercontent.com/48a5847a4cb08e81c3d2d61fdba287023b676bf57dc980b5c3819013a86a433c/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f6a6176612f636f6e63757272656e742f636f6d706c657461626c656675747572652d636c6173732d6469616772616d2e6a7067
Java 是如何实现 Future 模式的?万字详解!https://juejin.cn/post/6844904199625375757
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#completablefuture-类有什么用
https://camo.githubusercontent.com/48a5847a4cb08e81c3d2d61fdba287023b676bf57dc980b5c3819013a86a433c/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f6a6176612f636f6e63757272656e742f636f6d706c657461626c656675747572652d636c6173732d6469616772616d2e6a7067
https://camo.githubusercontent.com/6d2dec13023c6a55b1a53b278c92815c1d0aa943adfc1dfafc7ddf72c3f6d1ea/68747470733a2f2f6f73732e6a61766167756964652e636e2f6a61766167756964652f696d6167652d32303231303930323039333032363035392e706e67
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#️一个任务需要依赖另外两个任务执行完之后再执行怎么设计
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#️使用-completablefuture有一个任务失败如何处理异常
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#️在使用-completablefuture-的时候为什么要自定义线程池
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#aqs
AQS 详解https://javaguide.cn/java/concurrent/aqs.html
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#aqs-是什么
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#️aqs-的原理是什么
https://camo.githubusercontent.com/3068a96ec07489421c1885996d4bfbc86828b94050b72405e1284cd60337e808/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f6f70656e2d736f757263652d70726f6a6563742f636c682d6c6f636b2d71756575652d7374727563747572652e706e67
https://camo.githubusercontent.com/d93f919f3b198a4ea95ea647095f52954586e1fb7100911e28a1e63ae5d967d4/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f6a6176612f636f6e63757272656e742f636c682d71756575652d7374727563747572652d6269616e74692e706e67
https://camo.githubusercontent.com/7ebc1659519d5621c7da081bf3e52b140459f434de08ea214c5873d0cff4c5a1/68747470733a2f2f6f73732e6a61766167756964652e636e2f6769746875622f6a61766167756964652f6a6176612f636f6e63757272656e742f636c682d71756575652d73746174652e706e67
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#semaphore-有什么用
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#semaphore-的原理是什么
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#countdownlatch-有什么用
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#countdownlatch-的原理是什么
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#用过-countdownlatch-么什么场景下用的
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#cyclicbarrier-有什么用
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#cyclicbarrier-的原理是什么
https://github.com/foixes/JavaGuide-Interview/blob/master/docs/java/java-concurrent.md#虚拟线程
虚拟线程常见问题总结https://javaguide.cn/java/concurrent/virtual-thread.html
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.