[concurrency-interest] Spring DispatcherServlet safe publication question
dcholmes at optusnet.com.au
Mon Mar 10 01:23:37 EDT 2008
Jed Wesley-Smith wrote:
> The key being "after ... properly initialized" - I would
> posit that most servlet containers would implement a _happens before_
> relationship here, therefore all will be well.
I would posit that servlet containers would need to implement a
happens-before relationship here, but whether the writers of such servlet
containers are actually aware of that need, is a different matter entirely.
Safe-publication is the forgotten topic of "Threads 101" :(
More information about the Concurrency-interest