Re: [Vote] release maven-bundle-plugin 1.4.0

2008-02-25 Thread Karl Pauls
Hi folks, I'd like to start a vote for the 1.4.0 release of the maven-bundle-plugin, which now has complete integration of the OBR goals with the bundle life-cycle (plus a couple of improvements made possible by this work) along with support for attaching bundles with different

Re: [Vote] release maven-bundle-plugin 1.4.0

2008-02-25 Thread Carsten Ziegeler
Karl Pauls wrote: Hi folks, I'd like to start a vote for the 1.4.0 release of the maven-bundle-plugin, which now has complete integration of the OBR goals with the bundle life-cycle (plus a couple of improvements made possible by this work) along with support for attaching bundles

Performance problems in classloading

2008-02-25 Thread Guillaume Nodet
I'm currently working on ServiceMix 4 which uses Felix.\ I have some really important performance problems in classloading. When loading JBI applications (they have some very specific classloading architecture that must be implemented to be JBI compliant), 95% of the time is spent in the

Re: Performance problems in classloading

2008-02-25 Thread Stuart McCulloch
On 25/02/2008, Guillaume Nodet [EMAIL PROTECTED] wrote: I'm currently working on ServiceMix 4 which uses Felix.\ I have some really important performance problems in classloading. When loading JBI applications (they have some very specific classloading architecture that must be implemented

Re: Performance problems in classloading

2008-02-25 Thread Guillaume Nodet
Thanks Stuart. The exception was catched and the getMessage method called, so I've hacked a bit more, but the following patch seems to work great for me. Index: src/main/java/org/apache/felix/moduleloader/ModuleImpl.java === ---

Re: Performance problems in classloading

2008-02-25 Thread Stuart McCulloch
On 25/02/2008, Guillaume Nodet [EMAIL PROTECTED] wrote: Thanks Stuart. The exception was catched and the getMessage method called, so I've hacked a bit more, but the following patch seems to work great for me. cool, could you raise a JIRA issue and attach the combined patch - thanks Index:

Re: Performance problems in classloading

2008-02-25 Thread Dale Peakall
These patches do have the problem that exceptions are supposed to be Serializable - and IModule is not Serializable. I don't know if the information necessary to construct the message is Serializable and can be quickly extracted from the module definition - given the apparent run-time cost of

[jira] Created: (FELIX-500) Performance problems when using the OSGi classloaders in a certain way

2008-02-25 Thread Guillaume Nodet (JIRA)
Performance problems when using the OSGi classloaders in a certain way -- Key: FELIX-500 URL: https://issues.apache.org/jira/browse/FELIX-500 Project: Felix Issue Type:

Re: Performance problems in classloading

2008-02-25 Thread Karl Pauls
I agree that we will have to fix this. I will look into it. Thanks for the patch. regards, Karl I've raised a JIRA with a patch that should accomodate this problem. I must admit this is not the cleanest thing, but given a 95% performance boost in my case I'd be happy it it is included