What was the idea to use caching in CdiObjectFactory::getInjectionTarget() ?

It can be a bit slow as it's using synchronize(this) each time (for
reading and writing). I've switched into ConcurrentHashMap but maybe
removing cache at all would be the best.


Kind regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Warszawa JUG conference - Confitura http://confitura.pl/

2011/4/29 Lukasz Lenart <[email protected]>:
> 2011/4/29 René Gielen <[email protected]>:
>> Good catch :) it would need some love, but it was working quite well already.
>
> Polishing it a bit ;-)
>
>> Nevertheless, CDI is JSR299 while the inject stuff is 330. The latter one 
>> would impose switching from internal Guice pre to a stable release.
>
> I was thinking a lot about that and it looks like huge task :S
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
> Warszawa JUG conference - Confitura http://confitura.pl/
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to