Re: 回复: please help understanding what's the relationship of hotspot compiler c1 and c2 ?
Andrew Haley
aph at redhat.com
Wed Nov 2 10:59:26 UTC 2016
On 02/11/16 09:40, 恶灵骑士 wrote:
> which method processes 'volatile' operations like method do_StoreField in src/share/vm/c1/c1_LIRGenerator.cpp?
It's done in line 1771:
if (is_volatile && os::is_MP()) {
__ membar_release();
}
and 1793:
if (!support_IRIW_for_not_multiple_copy_atomic_cpu && is_volatile && os::is_MP()) {
__ membar();
}
Andrew.
More information about the hotspot-dev
mailing list