Skip to content

java 并发 完整相关 #10

Open
Open

Description

@lanfunoe

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

Activity

  1. Seazean commented on Mar 2, 2023

    @Seazean
    Owner

    这两个并不是互斥的吧?

  2. lanfunoe commented on Mar 2, 2023

    @lanfunoe
    Author

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

  3. Seazean commented on Mar 3, 2023

    @Seazean
    Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions