I am also interested in knowing what one can do there. I have read that J9 has some extensions that enables a granular control of resources (memory, CPU) at the bundle level and ProSyst folks have some management tools around that but that is the only JRE that I have heard whcih has that kind of capability, and of course that is not a universal feature of JREs so won't help most people.

On 2/19/2010 10:40 AM, Clifford H. James wrote:
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]


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

Reply via email to