Prashant Kumar Rai

74%
Flag icon
The best way to avoid the problems discussed in this item is not to share mutable data. Either share immutable data (Item 17) or don’t share at all. In other words, confine mutable data to a single thread.
Prashant Kumar Rai
Policy to avoid synchronization problem
Effective Java
Rate this book
Clear rating
Open Preview