跳转到内容

欢迎来到Riguz的小站!这是一个私人wiki,用来记录一些我的笔记。

Java out-of-thin-air Safety

来自WHY42
Riguz​(留言 | 贡献)2023年12月19日 (二) 06:54的版本 (Riguz移动页面Java:out-of-thin-air Safety至Java out-of-thin-air Safety,不留重定向)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

Out-of-thin-air safety is the safety guarantee that when a thread reads a variable without synchronization it may see a stale value, but the value will be one set by a thread, not some random value.