[
https://issues.apache.org/jira/browse/ARIES-2106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Baptiste Onofré resolved ARIES-2106.
-----------------------------------------
Fix Version/s: spifly-1.3.7
Resolution: Fixed
> Memory leak in SPI-Fly when bundle is unloaded.
> -----------------------------------------------
>
> Key: ARIES-2106
> URL: https://issues.apache.org/jira/browse/ARIES-2106
> Project: Aries
> Issue Type: Bug
> Components: SPI Fly
> Affects Versions: spifly-1.3.6
> Reporter: Chris Rankin
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Labels: MemoryLeak, memory-leak
> Fix For: spifly-1.3.7
>
>
> On unloading a bundle from the Felix framework, SPI-Fly correctly removes the
> {{{}WeavingData{}}}, but forgets also to remove the consumer restrictions:
> {code:java|title=org.apache.aries.spifly.BaseActivator}
> public void removeWeavingData(Bundle bundle) {
> bundleWeavingData.remove(bundle);
> + consumerRestrictions.remove(bundle);
> }{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)