| Summary: | OSGi context creates duplicate trackable computations | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Oleg Besedin <ob1.eclipse> | ||||
| Component: | E4 | Assignee: | Project Inbox <e4.runtime-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | ob1.eclipse | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Patch applied to CVS Head. |
Created attachment 169512 [details] Patch On each lookup OSGi context creates a new RunAndTrack instance. As a result we end up with a large number (1000's) of RunAndTracks. Moreover, the single purpose of those RAT instances is to be notified when the originating context is disposed. (To keep RAT valid OSGi context creates an extra dependency on context's parent.) The patch creates a "notify on disposal" listener instead that takes care of eliminating duplicates.