| Summary: | Reduce number of RaTs created on context update | ||||||
|---|---|---|---|---|---|---|---|
| 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: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Patch applied to CVS Head. |
Created attachment 183012 [details] Patch At present we create new RaT on every context update notification. Because of the way listeners are registered, the "extra" RaTs gets coalesced with the "initial" RaTs and, in the long run, we don't end up with leaks. That, however, is less than ideal as each context update creates new RaT for listeners which gets garbage collected. The attached patch changes that so that context injection creates RaTs only on the initial processing of the injection requestor. The patch also fixed bug in @Active processing.