Changes:

* 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.

https://github.com/Netflix/governator

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-guice/-/zwfOGf9yzaMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en.

Reply via email to