JBoss Community

Benchmarking classloaders

reply from David Bosschaert in JBoss Microcontainer Development - View the full discussion

Kabir Khan wrote:

 

Ales Justin wrote:

 

Why the three level hierarchy depth?

The three levels was inspired by David's stuff, as I understood it a load of one class triggers load of some others. It can certainly be made simpler though, so I can do a one-level set tomorrow.

I created the bundle bench mark test model to follow typical OSGi deployments. Multiple levels are very common in that case, for instance:

 

A customer bundle uses a product delivered as OSGi bundles. The product has an API and an Implementation. The product uses some services from the compendium which are implemented by a number of util bundles. Voila - that's the test case structure.

Reply to this message by going to Community

Start a new discussion in JBoss Microcontainer Development at Community