为了找到答案,他们用加州斯坦福同步辐射光源生成的高功率X射线,这次测量水如何散射从不同的角度照进的光线。
To find out, they turned to thehigh-power X-rays generated at the Stanford Synchrotron Radiation Lightsourcein California, this time measuring how water scatters rays arrivingfrom various angles.
这意味着在缺乏同步的情况下,从不同的线程角度来看,内存的操作是以不同的次序发生的。
This means that in the absence of synchronization, memory operations can appear to happen in different orders from the perspective of different threads.
从性能角度来看,如果Master永不访问WorkUnit的属性,那么我们是不希望Terracotta对这些属性的访问进行同步的。
From a performance perspective, we didn't want Terracotta to have to synchronize access to these WorkUnit attributes if the Master will never access them.
应用推荐