[CONTROLLER-1025] DependencyResolverManager retains backreferences Created: 13/Nov/14 Updated: 01/Dec/14 Resolved: 01/Dec/14 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | config |
| Affects Version/s: | Helium |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 2381 |
| Description |
|
YourKitProfiler analysis of a memory snapshot reveals that DependencyResolverManager retains references to containing class in the dynamic proxies. This turns out to be caused by an anonymous subclass of AbstractInvocationHandler, which needs access to three final fields in the manager. |
| Comments |
| Comment by Robert Varga [ 13/Nov/14 ] |