Displaying 2 results from an estimated 2 matches for "dieabbrevdata".
2015 May 24
3
[LLVMdev] RFC: Reduce the memory footprint of DIEs (and DIEValues)
...arts, as well
as a few unrelated memory improvements. I'm attaching my (almost?)
ready-to-go patches, which have the following effects on peak memory:
- 0000: 845 MB (baseline)
- 0001: 845 MB - refactor
- 0002: 879 MB - pass DIEValue by value (momentary setback)
- 0003: 829 MB - merge DIEAbbrevData into DIEValue
- 0004: 829 MB - refactor
- 0005: 829 MB - refactor
- 0006: 829 MB - refactor
- 0007: 764 MB - change DIE::Values to a linked list
- 0008: 756 MB - change DIE::Children to a linked list
(Still measuring memory on `llc` for `-flto -g`; details in r236629.)
@Eric, you mentio...
2015 May 21
2
[LLVMdev] RFC: Reduce the memory footprint of DIEs (and DIEValues)
With just those four patches, memory usage went *up* slightly. Add in
the 5th patch (which does #2 below), and we get an overall memory drop
of 4%.
The intermediate result of a memory increase makes sense. While the
first four patches reduce the number of (and size of) `DIEValue`
allocations, they increase the cost of the `SmallVector` overhead.
0005 (attached) squeezes the abbreviation data