You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2017/05/08 09:08:04 UTC

[jira] [Resolved] (DELTASPIKE-1033) BeanManagerProvider might create mem leaks

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

Mark Struberg resolved DELTASPIKE-1033.
---------------------------------------
    Resolution: Won't Fix

No, I think there is no @PreDestroy on CDI Extensions as per the CDI spec.

Currently we should do fine if the application gets shut down properly. The trick with the WeakReferences did not work out due to practical problems.
So I'm gonna close this as we are not able to improve the current state drastically.

> BeanManagerProvider might create mem leaks
> ------------------------------------------
>
>                 Key: DELTASPIKE-1033
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1033
>             Project: DeltaSpike
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.5.1
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>
> We currently use a Map<ClassLoader, BeanManagerInfo> in BeanManagerProvider. This is a class 1 candidate to generate mem leaks when a webapp gets undeployed. We should switch to using WeakReferences instead.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)