Re:Using JDK 9 Memory Order Modes
by sgolestane on Wednesday March 15, 2017 @01:14PM
(#13877804)
I think you missed the 'final' keyword from @sreque comment. As long as at least one of the fields of the Thing is final, instances of it get published safely (https://shipilev.net/blog/2014/safe-public-construction/)
[ Parent
| on HN ]
There are no comments on this comment yet.