How to profile the execution of an OSGi deployment?

Posted by Jaime Soriano on Stack Overflow See other posts from Stack Overflow or by Jaime Soriano
Published on 2010-03-10T17:01:02Z Indexed on 2010/03/12 11:17 UTC
Read the original article Hit count: 418

Filed under:
|
|
|
|

I'm starting the development of an OSGi bundle for an application that will be deployed in a device with some hardware limitations. I'd like to know how could I profile the execution of that bundle to be always sure that it's going to fit with its dependencies in the final device. It would be nice to have a profiler to know how much memory is each bundle using, to localize bottle necks and to compare different implementations of the same service.

Is there any profiler for OSGi deployments or should I use a general Java profiler?

For developing I'm using Pax runner with Apache felix to run the bundle and maven to manage project dependencies and building.

© Stack Overflow or respective owner

Related posts about osgi

Related posts about profiling