Request for reviews (S): 7190310: Inlining WeakReference.get(), and hoisting $referent may lead to non-terminating loops
Vladimir Kozlov
vladimir.kozlov at oracle.com
Thu Aug 9 18:34:22 PDT 2012
http://cr.openjdk.java.net/~kvn/7190310/webrev
7190310: Inlining WeakReference.get(), and hoisting $referent may lead to
non-terminating loops
Add acquire membar after load from Reference.referent field to prevent commoning
of loads across safepoint since GC can change its value.
Thanks,
Vladimir
More information about the hotspot-compiler-dev
mailing list