gecko-dev/xpcom/reflect/xptinfo
Nicholas Nethercote 2ddfe18454 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.

--HG--
extra : rebase_source : 8e6cc42644621a7f3c80593006734e25420c7229
2016-02-23 16:17:58 +11:00
..
tests
ShimInterfaceInfo.cpp Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
ShimInterfaceInfo.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
TODO
XPTInterfaceInfoManager.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
moz.build Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
nsIInterfaceInfo.idl Bug 1151506 - move nsIInterfaceInfo::isMainProcessScriptable to the end of the interface's vtable; r=dbaron 2015-06-29 10:28:14 -04:00
nsIInterfaceInfoManager.idl
xptiInterfaceInfo.cpp Bug 1249174 (part 7.5) - Avoid wasted space around XPT strings. r=khuey. 2016-02-23 16:17:58 +11:00
xptiInterfaceInfoManager.cpp Bug 1249174 (part 7.5) - Avoid wasted space around XPT strings. r=khuey. 2016-02-23 16:17:58 +11:00
xptiTypelibGuts.cpp Bug 1249174 (part 7.5) - Avoid wasted space around XPT strings. r=khuey. 2016-02-23 16:17:58 +11:00
xptiWorkingSet.cpp Bug 1249174 (part 7.5) - Avoid wasted space around XPT strings. r=khuey. 2016-02-23 16:17:58 +11:00
xptinfo.h Bug 1248534 (part 2) - Remove unused XPT flags. r=khuey. 2016-02-16 19:04:18 +11:00
xptiprivate.h Bug 1249174 (part 2) - Shrink xptiInterfaceEntry by reordering its fields. r=khuey. 2016-02-17 15:23:46 +11:00