Community
Participate
Working Groups
In Gemini management: BundleState MBean listBundles method requires a lot of CPU power and time to complete. In small runtimes where up to 50 bundles are present on a modern PC it takes about 10+ seconds, during this time CPU is heavily used. For bigger runtimes such as eclipse it can take up to 40 min to execute. All this is happening because the amount of information that is gathered including import packages, import bundles, export packages, fragments, hosts, services, bundle name, id and so on. What we suggest is that we create a listBundles method that will take a mask parameter and the developer can decide what information he/she will need in the his/hers scenario. This implementation will be additional on top of what the specification requires. Maybe later on it can become part of the specification.
Changing to Gemini.Management bin.
Reassigning to Peter.
Created attachment 195377 [details] listBundles(mask) method added. additionally the OSGiBundle wrapper is made to lazy load the information, since till now on creating the object the whole information was extracted thus slowing down the system significantly.
Fixed, by accepting the changes in the SVN There is no build \ released version yet, but when we create one (another bug) the fix would appear
closed, available in the latest build