Comment #2 on issue 729 by antony.s...@gmail.com: Deadlock using
FactoryModuleBuilder from different threads
http://code.google.com/p/google-guice/issues/detail?id=729
What's an "injected cxtors"?
None of our modules have any threading code, nor our constructor methods.
Ah, I think that is this thread?
"Thread-2610" prio=10 tid=0x00007f416430f000 nid=0xea3 runnable
[0x00007f416b9f8000]
java.lang.Thread.State: RUNNABLE
at java.lang.Class.getConstantPool(Native Method)
at java.lang.System$2.getConstantPool(System.java:1130)
at java.lang.reflect.Method.declaredAnnotations(Method.java:693)
- locked <0x0000000775db9c60> (a java.lang.reflect.Method)
at java.lang.reflect.Method.getAnnotation(Method.java:679)
at
com.google.inject.spi.InjectionPoint.getAtInject(InjectionPoint.java:466)
at
com.google.inject.spi.InjectionPoint.getInjectionPoints(InjectionPoint.java:664)
at
com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:356)
at
com.google.inject.internal.MembersInjectorStore.createWithListeners(MembersInjectorStore.java:90)
at
com.google.inject.internal.MembersInjectorStore.access$000(MembersInjectorStore.java:34)
at
com.google.inject.internal.MembersInjectorStore$1.create(MembersInjectorStore.java:42)
at
com.google.inject.internal.MembersInjectorStore$1.create(MembersInjectorStore.java:39)
at
com.google.inject.internal.FailableCache$1.apply(FailableCache.java:39)
at
com.google.inject.internal.util.$MapMaker$StrategyImpl.compute(MapMaker.java:549)
at
com.google.inject.internal.util.$MapMaker$StrategyImpl.compute(MapMaker.java:419)
at
com.google.inject.internal.util.$CustomConcurrentHashMap$ComputingImpl.get(CustomConcurrentHashMap.java:2041)
at com.google.inject.internal.FailableCache.get(FailableCache.java:50)
at
com.google.inject.internal.MembersInjectorStore.get(MembersInjectorStore.java:65)
at
com.google.inject.internal.ConstructorInjectorStore.createConstructor(ConstructorInjectorStore.java:73)
at
com.google.inject.internal.ConstructorInjectorStore.access$000(ConstructorInjectorStore.java:28)
at
com.google.inject.internal.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:36)
at
com.google.inject.internal.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:32)
at
com.google.inject.internal.FailableCache$1.apply(FailableCache.java:39)
at
com.google.inject.internal.util.$MapMaker$StrategyImpl.compute(MapMaker.java:549)
at
com.google.inject.internal.util.$MapMaker$StrategyImpl.compute(MapMaker.java:419)
at
com.google.inject.internal.util.$CustomConcurrentHashMap$ComputingImpl.get(CustomConcurrentHashMap.java:2041)
at com.google.inject.internal.FailableCache.get(FailableCache.java:50)
at
com.google.inject.internal.ConstructorInjectorStore.get(ConstructorInjectorStore.java:49)
at
com.google.inject.internal.ConstructorBindingImpl.initialize(ConstructorBindingImpl.java:125)
at
com.google.inject.internal.InjectorImpl.initializeBinding(InjectorImpl.java:507)
at
com.google.inject.internal.AbstractBindingProcessor$Processor$1.run(AbstractBindingProcessor.java:159)
at
com.google.inject.internal.ProcessedBindingData.initializeBindings(ProcessedBindingData.java:44)
at
com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:122)
at
com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:106)
- locked <0x0000000608d609a0> (a
com.google.inject.internal.InheritingState)
at
com.google.inject.internal.InjectorImpl.createChildInjector(InjectorImpl.java:217)
at
com.google.inject.internal.InjectorImpl.createChildInjector(InjectorImpl.java:224)
at
com.google.inject.assistedinject.FactoryProvider2.getBindingFromNewInjector(FactoryProvider2.java:602)
at
com.google.inject.assistedinject.FactoryProvider2.invoke(FactoryProvider2.java:625)
at $Proxy16.create(Unknown Source)
at ourcode
That's the only one that's running, within Guice, and has gone through the
FP2#invoke
--
You received this message because you are subscribed to the Google Groups
"google-guice-dev" group.
To post to this group, send email to google-guice-dev@googlegroups.com.
To unsubscribe from this group, send email to
google-guice-dev+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-guice-dev?hl=en.