-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
关于偏向锁升级为轻量级锁的疑问 #30
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
请问,原文中提到偏向锁在发生竞争时,会在全局安全点撤销。撤销之后原来持有偏向锁的线程继续执行任务时,还持有锁吗?持有的是轻量级锁?如果是轻量级锁,那么它的上锁过程是在偏向锁撤销后立即发生的吗?
The text was updated successfully, but these errors were encountered: