Menu ▾ ▴

#50 Unexpected race conditions

broken_
open
nobody
core (37)
1
2001-04-24
2001-04-24
No

Looks like all accesses to shared data might have to be
synchronized.
See "Double-checked locking: Clever, but broken" for an
example.
http://www.javaworld.com/javaworld/jw-02-2001/jw-0209-double.html

Also: http://www.cs.umd.edu/~pugh/java/memoryModel/

Given the likely performance hit, this is not a
priority.

Discussion


Log in to post a comment.