gecko/xpcom/typelib/xpt
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
..
tools Bug 1240053 - Consider the order of methods, their params, and constant important when comparing XPT interfaces to decide whether to relink XPT files; r=khuey 2016-01-15 14:58:52 -05:00
moz.build Bug 1221453 - Use ObjDirPaths for GENERATED_INCLUDES and merge with LOCAL_INCLUDES. r=gps 2015-11-06 09:59:21 +09:00
xpt_arena.cpp Bug 1249174 (part 7.5) - Avoid wasted space around XPT strings. r=khuey. 2016-02-23 16:17:58 +11:00
xpt_arena.h Bug 1249174 (part 7.5) - Avoid wasted space around XPT strings. r=khuey. 2016-02-23 16:17:58 +11:00
xpt_struct.cpp Bug 1249174 (part 7.5) - Avoid wasted space around XPT strings. r=khuey. 2016-02-23 16:17:58 +11:00
xpt_struct.h Bug 1249174 (part 6) - Shrink XPTTypeDescriptor. r=khuey. 2016-02-23 16:17:44 +11:00
xpt_xdr.cpp Bug 1249174 (part 7.5) - Avoid wasted space around XPT strings. r=khuey. 2016-02-23 16:17:58 +11:00
xpt_xdr.h Bug 1249174 (part 4) - Don't store unused XPTHeader fields in memory. r=khuey. 2016-02-23 05:33:35 +11:00