gecko/xpcom
Nicholas Nethercote 2531368087 Bug 1252375 - Fix up jemalloc stats reporting. r=erahm.
We have some oddities in our jemalloc stats reporting.

- "heap-overhead-ratio" is a strange measurement: overhead / non-overhead,
  expressed as a percentage. And it omits "bin_unused", which appears to be an
  oversight.

- "heap-committed" also omits "bin_unused".

- There are some minor errors in memory report descriptions.

This patch fixes these and improves the heap reporting. It makes the following
reporting changes:

- "heap-allocated": Duplicated as "heap-committed/allocated". (We keep
  "heap-allocated" because that's a special value used in the computation of
  "heap-unclassified".)

- "heap-committed/overhead": Added; it's the same as the sum of the
  "explicit/heap-overhead/*" values. Together with "heap-committed/allocated"
  it shows clearly what fraction of the heap is overhead and what fraction is
  useful.

- "heap-committed": Removed; now implicit as the "heap-committed/" node.

- "heap-overhead-ratio":
  - Removed from memory reports; now shown as the percentage of the new
    "heap-committed/overhead" node.
  - Still available as a distinguished amount (because it's useful in
    isolation) but renamed to heapOverheadFraction, and the telemetry ID is
    renamed as MEMORY_HEAP_OVERHEAD_FRACTION.

- "heap-chunks": Removed; it's not that interesting, and can be manually
  computed as "heap-mapped" / "heap-chunksize" if necessary.
2016-03-03 12:49:27 +11:00
..
base Bug 1252375 - Fix up jemalloc stats reporting. r=erahm. 2016-03-03 12:49:27 +11:00
build Bug 1252191 - use UniquePtr instead of ScopedFreePtr in PoisonIOInterposerMac.cpp; r=aklotz 2016-02-29 10:06:53 -05:00
components Bug 1251482 - Remove remaining references to MOZILLA_XPCOMRT_API from xpcom. r=froydnj 2016-02-26 18:10:56 -08:00
doc
ds Bug 1251482 - Remove remaining references to MOZILLA_XPCOMRT_API from xpcom. r=froydnj 2016-02-26 18:10:56 -08:00
glue Bug 1251482 - Remove remaining references to MOZILLA_XPCOMRT_API from xpcom. r=froydnj 2016-02-26 18:10:56 -08:00
idl-parser Bug 1248950 - Move xpidl unit tests to moz.build; r=ted 2016-03-02 11:21:26 +01:00
io Bug 864842 - Show error for browsing Windows drive without media, r=michal 2016-02-22 17:00:10 +01:00
libxpt/xptcall
reflect Bug 1252072 - Prevent ASan instrumentation for unsafe xpcom functions. r=froydnj 2016-02-29 21:39:03 +01:00
string Bug 1247359 - micro-optimize the common case of String{Begins,End}With; r=erahm 2016-02-10 14:31:06 -05:00
system Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
tests Bug 1229985 - remove nsAutoArrayPtr; r=erahm 2015-12-06 10:51:43 -05:00
threads Bug 1251482 - Remove remaining references to MOZILLA_XPCOMRT_API from xpcom. r=froydnj 2016-02-26 18:10:56 -08:00
typelib Bug 1249174 (part 8) - Shrink XPTInterfaceDescriptor. r=khuey. 2016-02-23 16:17:59 +11:00
windbgdlg
xpidl
moz.build Bug 1252095 - Export xpcom-config.h from moz.build; r=ted 2016-03-01 09:17:29 +01:00
xpcom-config.h.in
xpcom-private.h.in