Recently I've performed some JMH benchmarking on the usecases for
retireving collections of services.

I discovered that raw usage of the ServiceTracker is in fact very slow for
most cases due to heavy synchronization (both equinox and felix seem to
have similar synchronization, although all my tests were actually against
equinox).

Has this ever been discussed or reviewed?

It seems that since this is such a core function any improvement here would
greatly affect/improve performance overall (not that it's really bad...
except under significant concurrency).

i.e. lock free impl.

Thoughts?

-- 
*Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
 (@rotty3000)
Senior Software Architect
*Liferay, Inc.* <http://www.liferay.com> (@Liferay)
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to