tira-misu opened a new pull request, #480:
URL: https://github.com/apache/celix/pull/480

   This PR fixes immediate unload of import/export libraries on load of a 
bundle. 
   
   Related issue:
   #479
   
   This only happens if you use release version of celix or set 
```CELIX_LOAD_BUNDLES_WITH_NODELETE=false``` in config.properties while debug 
and you import/export libraries are build with ```-fno-gnu-unique```. Otherwise 
celix_libloader_close() will unload the library immediately but the library 
will stay in memory. This can be seen in /proc/<pid>/maps.
   
   In other words: If you compile your import/export libraries with 
```-fno-gnu-unique``` and use release version of celix, the im/export library 
did not stay in memory while loading the bundle.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@celix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to