...
According to Joshua Bloch [Bloch 2008]
If a method modifies a static field, you must synchronize access to this field, even if the method is typically used only by a single thread. It is not possible for clients to perform external synchronization on such a method because there can be no guarantee that unrelated clients will do likewise.
...
Bibliography
[API 2006] |
|
Item 67. Avoid excessive synchronization |
...