JavaMemoryModel: Threading issues in my connection pool

From: Jeremy Manson (
Date: Fri Sep 01 2000 - 11:45:02 EDT

> Does this free me of synchronization problems _in current JVMs_ ? In
> the future at least? I know my techniques are not good enough strictly
> in terms of the current JMM _spec_, but I'm hoping the _implementations_
> fare better.

Afraid not. Check out

for details. Most JVMs do not implement volatile variables in the way one
would like. Because of the spec revision, and generally getting the word
out, though, this should be a better in future VM implementations.

JavaMemoryModel mailing list -

This archive was generated by hypermail 2b29 : Thu Oct 13 2005 - 07:00:27 EDT