[concurrency-interest] DCL clarification Immutable singelton

vikas vikas.vksingh at gmail.com
Thu Apr 10 11:18:43 EDT 2014


*"I do agree with Hans and Aleksey that you really should try to avoid
constructs like this in real code as it's quite brittle."*

Yes i completely agree. It was more of understanding the how safely we can
publish objects
and why to avoid such bad design (no matter if they are correct) 



--
View this message in context: http://jsr166-concurrency.10961.n7.nabble.com/DCL-clarification-Immutable-singelton-tp10862p10880.html
Sent from the JSR166 Concurrency mailing list archive at Nabble.com.


More information about the Concurrency-interest mailing list