celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriele Ricciardi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CELIX-363) Memory leak in DFI exportRegistration_create
Date Thu, 02 Jun 2016 13:44:59 GMT

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

Gabriele Ricciardi updated CELIX-363:
-------------------------------------
    Summary: Memory leak in DFI exportRegistration_create  (was: Memory leak in DFI  )

> Memory leak in DFI exportRegistration_create
> --------------------------------------------
>
>                 Key: CELIX-363
>                 URL: https://issues.apache.org/jira/browse/CELIX-363
>             Project: Celix
>          Issue Type: Bug
>            Reporter: Gabriele Ricciardi
>         Attachments: intfVersion_leak.patch
>
>
> The CELIX_FRAMEWORK_SERVICE_VERSION property comes from the bundle service version and
(in case of DFI) also from the DFI descriptor.
> In the DFI exportRegistration_create, such a property is always set, so in case it was
already set via the bundle service version, a leak is generated.
> Attached a patch that checks if the CELIX_FRAMEWORK_SERVICE_VERSION property is already
set: if no it is set, if yes the value is compared with the one in the DFI descriptor. In
case of mismatch between the two, a warning log is generated.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message