History log of /external/jemalloc/src/android_je_iterate.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1e14731d7182460d082d128660d419b26b9c6c39 21-Apr-2016 Colin Cross <ccross@android.com> Fix iteration over huge allocations

Huge allocations may have a size that is not a multiple of chunksize.
When stepping through chunks round up the huge allocation size to the
next multiple of chunksize.

Change-Id: I417fdfb840559c2b90c97b0ade7670aa2d181de4
Fixes: 28303511
/external/jemalloc/src/android_je_iterate.c
368f61eb45edd0ed92db68ff0c8c3c0d998ab010 30-Dec-2015 Colin Cross <ccross@android.com> Add je_iterate, je_malloc_disable, and je_malloc_enable

je_iterate calls a callback for every active jemalloc allocation in a
block of memory. je_malloc_disable prevents allocations to avoid
mutating the jemalloc internal data structures while je_iterate is
running, and je_malloc_enable re-enables allocations.

Bug: 27208635
(cherry picked from commit 6ab5f60a1e0d2b09ec7961b6e2d2c2a39e9c96f2)

Change-Id: Ia5360c940509048532263f3a0dfb296d9e20a8aa
/external/jemalloc/src/android_je_iterate.c