[concurrency-interest] safe publication ("initializing an object from static initializer")
andrew_nuss at yahoo.com
Fri Jun 7 09:17:52 EDT 2013
The quote from JCIP section 3.5.3, "initializing an object from static initializer", has me wondering in terms of non-64 bit static, but non-final, scalar and object variables initialized in an initializer directly, or indirectly thru a static function called by the initializer that sets such variable, what are the rules for publishing the change safely to other cores?
Are all changes to static variables published at the end of the static initialization of the class? What does hotspot do, and what exactly does this JCIP reference mean?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Concurrency-interest