[
https://issues.apache.org/jira/browse/GERONIMO-4933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan updated GERONIMO-4933:
---------------------------
Attachment: GERONIMO-4933.patch
Both the original code logic and the proposed patch has a pre-condition: we
always use the same URL for bundle installation. Or we would get symbolic name
existed exception.
Please help to review the patch, thanks !
> Some optimization for loaded bundle checking
> --------------------------------------------
>
> Key: GERONIMO-4933
> URL: https://issues.apache.org/jira/browse/GERONIMO-4933
> Project: Geronimo
> Issue Type: Improvement
> Security Level: public(Regular issues)
> Components: kernel, osgi
> Affects Versions: 3.0
> Reporter: Ivan
> Priority: Minor
> Fix For: 3.0
>
> Attachments: GERONIMO-4933.patch
>
>
> The full loop checking whether the bundle is loaded is less efficient. Seems
> that OSGI will maintaine a location-bundle map inside, if the bundle of the
> same location is installed, the existing bundle will return immediently.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.