gecko/xpcom/typelib
Nicholas Nethercote b68d05bdab Bug 1249174 (part 7.5) - Avoid wasted space around XPT strings. r=khuey.
This patch:

- Removes XPTArena's ability to support arbitrary alignments.

- Hardwires two sub-arenas into XPTArena, one with alignment of 8 and one with
  alignment of 1.

- Uses the first sub-arena for most allocations and the second sub-arena for C
  string allocations.

These changes reduce "xpti-working-set" by 56 KiB.

The patch also renames all the used of "malloc" in XPT identifiers with
"calloc", to make clearer that the result is always zeroed.
2016-02-23 16:17:58 +11:00
..
xpt Bug 1249174 (part 7.5) - Avoid wasted space around XPT strings. r=khuey. 2016-02-23 16:17:58 +11:00
moz.build