help me understanding how volatile field of java was executed on hotspot

Andrew Haley aph at
Fri Nov 4 09:18:01 UTC 2016

On 04/11/16 06:02, 恶灵骑士 wrote:
> is there some offical doc describing these method?

There's the source code that you're looking at.

> and is there someway to prove volatile field actually executed on above three method?

Beyond looking at the code, no.

There must be an important reason that you're asking this, and we'd be
happy to help if you told us.


More information about the hotspot-dev mailing list