Note that using a double-checked lock pattern as above can avoid contention once the configuration is populated, while still providing the same level of synchronization as before for building the configuration.