mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-30 12:27:29 +09:00
Issue #1307 - Part 7: Add missing MALLOC_STATS
This commit is contained in:
parent
62e392725c
commit
758d4d320e
1 changed files with 2 additions and 1 deletions
|
|
@ -5949,6 +5949,7 @@ malloc_usable_size_impl(MALLOC_USABLE_SIZE_CONST_PTR void *ptr)
|
|||
return (isalloc_validate(ptr));
|
||||
}
|
||||
|
||||
#ifdef MALLOC_STATS
|
||||
MOZ_JEMALLOC_API void
|
||||
jemalloc_stats_impl(jemalloc_stats_t *stats)
|
||||
{
|
||||
|
|
@ -6091,7 +6092,7 @@ jemalloc_stats_impl(jemalloc_stats_t *stats)
|
|||
assert(stats->mapped >= stats->allocated + stats->waste +
|
||||
stats->page_cache + stats->bookkeeping);
|
||||
}
|
||||
|
||||
#endif // MALLOC_STATS
|
||||
#ifdef MALLOC_DOUBLE_PURGE
|
||||
|
||||
/* Explicitly remove all of this chunk's MADV_FREE'd pages from memory. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue