aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexis de Talhouët <>
Subject ARIES-1634 BlueprintContainer are leaked when destroyed
Date Wed, 16 Nov 2016 18:51:10 GMT
Hello aries-dev,

I have opened a JIRA ticket and a PR ...
JIRA: <>

PR: <>

… for the following issue:
When the BlueprintContainer is #destroy(), it is not unregistered from the OSGi registry hence
is retained in the memory.
But when the BlueprintContainer is #quiesce() it is correctly unregistered from the OSGi registry.
The workaround it to first #quiesce() the container, then #destroy() it, so no service is
retaining it, and it can be GC.

So the PR unregisters the registration object retaining the BlueprintContainer on #destroy().

I hope I haven’t missed anything.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message