commit | 6ab5f60a1e0d2b09ec7961b6e2d2c2a39e9c96f2 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Tue Dec 29 16:56:53 2015 -0800 |
committer | Colin Cross <ccross@android.com> | Thu Feb 18 15:56:02 2016 -0800 |
tree | 17891411784fd51f1167959130806cbd86324acd | |
parent | 020b64f6a95b866c86d18a110e58aad4ab74ae30 [diff] |
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. Change-Id: I09c9554f36965806b47ecfce627560d1d9c33fda