felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Sauthier (JIRA)" <j...@apache.org>
Subject [jira] Updated: (FELIX-1518) iPOJO manipulator is really slow even when annotation are ignored
Date Mon, 24 Aug 2009 08:08:59 GMT

     [ https://issues.apache.org/jira/browse/FELIX-1518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Guillaume Sauthier updated FELIX-1518:

    Attachment: FELIX-1518.patch

To be applied against revision 803035
Compared to what has already been committed this patch brings:
* Use finally to force stream's close
* more factorized (bytecode read)
* More comments at some place

BTW, there is a point where I think a NPE can occur (search the TODO) ...

> iPOJO manipulator is really slow even when annotation are ignored
> -----------------------------------------------------------------
>                 Key: FELIX-1518
>                 URL: https://issues.apache.org/jira/browse/FELIX-1518
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>    Affects Versions: iPOJO-1.4.0
>            Reporter: Guillaume Sauthier
>            Assignee: Clement Escoffier
>         Attachments: FELIX-1518.patch
>   Original Estimate: 0h
>  Remaining Estimate: 0h
> In JOnAS, we don't use the annotation feature of iPOJO, so we configured the maven-ipojo-plugin
to ignore annotations.
> Nevertheless, the ipojo manipulation process is terribly slow !
> We have a tomcat bundle (containing all Tomcat's classes) that takes up to 1mn30sec to
be completed. That time includes class compilation, tests, bundle creation (with maven-bundle-plugin)
and iPOJO manipulation. This is definitely the iPOJO manipulation that takes the larger part
of this duration !
> Looking at the Pojoization class, it seems that we get the bytecode of all the classes
in the processed bundle even with annotations ignored!
> I think this is quite easy to optimize a lot the manipulation (in the ignored annotation

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message