[jira] [Updated] (ARIES-2106) Memory leak in SPI-Fly when bundle is unloaded.

2023-02-07 Thread Chris Rankin (Jira)


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

Chris Rankin updated ARIES-2106:

Affects Version/s: spifly-1.3.6

> 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
>Priority: Major
>  Labels: MemoryLeak, memory-leak
>
> 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)


[jira] [Updated] (ARIES-2106) Memory leak in SPI-Fly when bundle is unloaded.

2023-02-06 Thread Chris Rankin (Jira)


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

Chris Rankin updated ARIES-2106:

Description: 
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}

  was:
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}


> 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
>Reporter: Chris Rankin
>Priority: Major
>  Labels: MemoryLeak, memory-leak
>
> 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)