Bug 762448 - Deduct bin_unused from waste in jemalloc3's stats. r=glandium

This commit is contained in:
Guilherme Goncalves 2014-11-12 13:00:00 -05:00
parent 0beb672e87
commit 5ff0106324

View File

@ -166,6 +166,7 @@ jemalloc_stats_impl(jemalloc_stats_t *stats)
stats->bookkeeping = 0;
stats->bin_unused = compute_bin_unused(narenas);
stats->waste -= stats->bin_unused;
}
MOZ_JEMALLOC_API void