I wouldn't worry about this unless you are *actually* seeing the lock
contention problem I describe.

Furthermore, if you are mainly using assisted inject for long lived objects
you will be fine. =)

Dhanji.

On Wed, Nov 4, 2009 at 1:56 PM, je...@swank.ca <limpbiz...@gmail.com> wrote:

>
> We're working on this. For now, use the old form of assisted inject
> with the "@AssistedInject" annotation rather than the "@Inject"
> annotation.
>
> On Nov 3, 1:38 pm, Karthik Krishnan <krishnan.1...@gmail.com> wrote:
> > Hi All,
> >
> > I am using AssistedInject to inject Strings with variable values into
> > an object. I am using MapBinder to map the implementation to the type
> > of instance. We are able to get an instance of the class with the
> > injected string value. On an off chance, I looked at issue 435 that
> > mentions lock contentionhttp://
> code.google.com/p/google-guice/issues/detail?id=435
> > with assisted inject.
> >
> > We would not want the issue cropping up in our application. Is there a
> > work around or an emergency patch we should incorporate in our
> > application.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To post to this group, send email to google-guice@googlegroups.com
To unsubscribe from this group, send email to 
google-guice+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to