• 但是同步还有另一个方面:正如JMM指定强制实施某些内存可见性规则

    But synchronization also has another aspect: it enforces certain memory visibility rules as specified by the JMM.

    youdao

  • 注意同一个线程不同方法之间传递对象引用永远也不会出现内存可见性问题

    Note that visibility problems never arise when passing references to objects across methods in the same thread.

    youdao

  • 可见性更为微妙对付内存缓存编译器优化各种反常行为。

    Visibility is more subtle; it deals with the vagaries of memory caching and compiler optimizations.

    youdao

  • 话说,意味着内存模型保证正在变量可见保证写入其他变量可见性

    In other words, this means that the old memory model made promises only about the visibility of the variable being read or written, and no promises about the visibility of writes to other variables.

    youdao

  • 特别是内存模型定义了保证内存操作线程可见性volatilesynchronizedfinal语义

    In particular, the memory model defines semantics for volatile, synchronized, and final that make guarantees of visibility of memory operations across threads.

    youdao

  • 特别是内存模型定义了保证内存操作线程可见性volatilesynchronizedfinal语义

    In particular, the memory model defines semantics for volatile, synchronized, and final that make guarantees of visibility of memory operations across threads.

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定