Joe Soltzberg

79%
Flag icon
If you need to use lazy initialization for performance on an instance field, use the double-check idiom. This idiom avoids the cost of locking when accessing the field after initialization (Item 79).
Effective Java
Rate this book
Clear rating
Open Preview