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

java 并发 完整相关 #10

Open
lanfunoe opened this issue Mar 2, 2023 · 3 comments
Open

java 并发 完整相关 #10

lanfunoe opened this issue Mar 2, 2023 · 3 comments

Comments

@lanfunoe
Copy link

lanfunoe commented Mar 2, 2023

原文:其他线程访问 final 修饰的变量会复制一份放入栈中,效率更高
但是视频中 大于short最大值会将其放入常量池

@Seazean
Copy link
Owner

Seazean commented Mar 2, 2023

这两个并不是互斥的吧?

@lanfunoe
Copy link
Author

lanfunoe commented Mar 2, 2023

我的意思是你只写了一半,不完整,可以补充。

@Seazean
Copy link
Owner

Seazean commented Mar 3, 2023

可以 老哥很细节,我补充下

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