jdk-24/hotspot/test/compiler/7190310
Vladimir Kozlov 04c6a7ce10 7190310: Inlining WeakReference.get(), and hoisting $referent may lead to non-terminating loops
In C2 add software membar after load from Reference.referent field to prevent commoning of loads across safepoint since GC can change its value. In C1 always generate Reference.get() intrinsic.

Reviewed-by: roland, twisti, dholmes, johnc
2012-08-20 09:58:58 -07:00
..
Test7190310_unsafe.java 7190310: Inlining WeakReference.get(), and hoisting $referent may lead to non-terminating loops 2012-08-20 09:58:58 -07:00
Test7190310.java 7190310: Inlining WeakReference.get(), and hoisting $referent may lead to non-terminating loops 2012-08-20 09:58:58 -07:00