I had wondered the same thing and at the time of my search all I found
was that thesis project that you mentioned below. Let me know if you
find anything because this is an area that I think needs some attention
(perhaps from the OSGi Alliance people in an upcoming spec?) but I'm not
sure if the "ThreadPool per bundle" that the author took doesn't create
more troubles than it's worth -- it certainly isn't an unintrusive way
to monitor bundle resource consumption.
~Cliff
Nima Kaviani wrote:
Hi all,
I wonder if anybody knows of any profiling library / API that would allow me
to monitor the CPU and memory usages at a bundle level of granularity?
I have already looked into JProfiler, but there are two problems with
JProfiler. It is not a free tool, and also its profiling happens the level
of objects and packages (the second issue could have been resolved if I
could play around with the source code of course). I also found this thesis
(http://www.vtt.fi/inf/pdf/publications/2008/P685.pdf) which takes a rather
intrusive approach in modifying the internals of an osgi framework in order
to support resource monitoring and profiling. Any help along this line is
very much appreciated.
thanks,
-Nima
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]