Martin Desruisseaux ha scritto: > Looking again at the code, I realized that FactoryCreator already > maintains a cache. So adding an other cache would duplicate, and the > synchronized statements can not be removed easily...
Ouch, this hurts... looking at scalability profiles I noticed that those statements are called very often and they are limiting the scalability, especially when going beyond 20 client threads and working with features. If a cache is already maintained, shouldn't the calls return very much? Yet in that case I should not see thread contention over CommonFactoryFinder... Cheers Andrea ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel