Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ExtensionLoader类获取实现类的时候,为什么要加双重锁 #67

Open
zhaojiale1213 opened this issue Jun 1, 2022 · 1 comment

Comments

@zhaojiale1213
Copy link

zhaojiale1213 commented Jun 1, 2022

1654051021
1654051059(1)
第一个锁已经锁住了下面的代码了

@xiaoguyueyue
Copy link
Contributor

那下面没有判断的话,另外的第一个拿到锁的执行完后,下一个在等待获取锁的是不是也会再执行一边代码

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants