...
Using lazy initialization in a Singleton without synchronizing the getInstance()
method may lead to multiple instances and can thus as a result violate the expected contract.
...
...
Using lazy initialization in a Singleton without synchronizing the getInstance()
method may lead to multiple instances and can thus as a result violate the expected contract.
...