| Summary: | EDC uses more memory than necessary | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Daniel Thomas <daniel.thomas> | ||||
| Component: | cdt-debug-edc | Assignee: | Ken Ryall <ken.ryall> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Ken Ryall <ken.ryall> | ||||
| Severity: | minor | ||||||
| Priority: | P3 | CC: | cdtdoug, jamesblackburn+eclipse, kirk.beitz | ||||
| Version: | 8.0 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Daniel Thomas
Created attachment 200704 [details]
6 patches to reduce memory consumption
the patch looks good, and i've applied the entire patch in our working source base for now. i believe ken will be merging our source base with the eclipse git repository soon. for purposes of telling these items apart, i am labeling them 1 thru 4 here: 1) Many ForwardReferenceTypes can be treated per IType which is being referenced 2) FileLineEntryProvider creates larger ArrayLists than necessary at times 3) SectionMapper can create buffers larger than necessary at times 4) DwarfInfoReader can add a variable to a list when it's already in that list in the future, it might have been better to treat these as four separate bugzilla issues with four separate patches, in case one of them caused our tests to fail, or in case there are other problems requiring us to back out one part. e.g. it wasn't obvious to me in looking at just the file that the change in Variable.java was related to item (4) above, but if these were separate bugzilla issues, the patch would have been more wholistic and self-contained. Dwarf patch applied and nominally tested locally; awaiting final review and final merge to eclipse edc git repository by ken ryall. |