On 2015-11-14 01:05, Vladimir Ivanov wrote:
I think we have to add a storeFence or two to avoid publishing
NamedFunctions whose resolvedHandle may otherwise be observed as only
partially visible:
http://cr.openjdk.java.net/~redestad/8142487/webrev.03/
Same here. No need in Unsafe.storeFence if proper constructor is used.
Right, together with the added lazy initialization safety we added in
8142334[1] I think this is more than enough:
http://cr.openjdk.java.net/~redestad/8142487/webrev.04/
/Claes
[1] https://bugs.openjdk.java.net/browse/JDK-8142334