Java's synchronization is not broken at all, it is perfectly reliable. There has been some fuss about a commonly used pattern known as double checked locking some years ago. But this doesn't mean the synchronized sections were ever broken, it was just a problem that could have existed if there would have been a implementation of a Java VM that reorganizes instructions to execute them out of order which would have been legal according to the java spec at this time. The fix for this was just a specification update.
http://www.cs.umd.edu/~pug
http://jcp.org/en/jsr/deta
Main Topics
Browse All Topics





by: objectsPosted on 2006-12-17 at 17:04:02ID: 18156189
http://www.jchq.net/tutori al/07_03Tu t.htm avaworld/j w-07-2002/ jw-0703- ja va101.html ?
http://www.javaworld.com/j