LOCK IN SHARE MODE(的) 加锁读 ( locking read ) 在一些场合,,一致性读并不是很方便,,此时,,可以用 加锁读 .
基于16个网页-相关网页
类型一致的不加锁读取 non-locking read in SELECTs
加锁读
Locked read
以上为机器翻译结果,长、整句建议使用 人工翻译 。
有一种普遍的观点是,如果只是要读一个对象的字段,不需要请求加锁,尤其是在JLS保证了32位读操作的原子性的情况下,它更是如此。
It is a commonly held belief that you do not need to acquire a lock to simply read an object's fields, especially since the JLS guarantees that 32-bit reads will be atomic.
youdao
应用推荐
模块上移
模块下移
不移动