Governator v1.0.3 Release Notes
Release Date: 2013-01-03 // over 11 years ago-
โ Added a new scope, FineGrainedLazySingleton. Guice's default Singleton scope synchronizes ๐ all object creation on a single lock (InternalInjectorCreator.class). It does this to avoid deadlocks with circular dependencies. FineGrainedLazySingleton instead locks on the key so that multiple singletons can be created concurrently. Circular dependencies are rare ๐ so FineGrainedLazySingleton risks deadlocks in those situations for the benefit of better concurrency.
๐ Made LifecycleManager more concurrent by removing the coarse syncs on the add methods.