I tried a small use case with the following
Bundle A - service provider
Bundle B - service consumer
I used Yourkit to do the profiling.
Now first i deploy Bundle A , and see teh your memory tab . I see a instance of my service object created.
Now I undeploy the Bundle A . now i expect teh service object to be GC'ed.I tried forcing the GC using YourKit utility. Still GC doesnt happen ?
I tried this in Dm 2.0. M4 version.
Isnt it a BUG ? Is the Dm/Equinox code still holding some reference into service object ? Shouldnt it be freed ?
In Dm 1.0.2 i see that it gets GC'ed, but when i deploy the Bundle B and then undeploy Bundle A , the instance does not get cleared . Is that expected ?
IF so, y ?


