[YANGTOOLS-1192] ModifierImpl leaks post buildEffective() Created: 01/Dec/20 Updated: 02/Dec/20 Resolved: 02/Dec/20 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | parser |
| Affects Version/s: | 4.0.14, 5.0.7, 6.0.1 |
| Fix Version/s: | 7.0.0, 5.0.8, 6.0.2, 4.0.15 |
| Type: | Bug | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Epic Link: | Parser Performance | ||||||||
| Description |
|
Examining a reference benchmark's heap dump, the following is retained between when buildEffective() finishes and GlobalBuildContext is released:
Since inference has completed, there should be no outstanding actions: here we have some listeners still hanging in. |
| Comments |
| Comment by Robert Varga [ 01/Dec/20 ] |
|
With the fixes retained objects are more sane:
cutting down ~330K objects (<1%). |