aboutsummaryrefslogtreecommitdiffstats
path: root/include/jemalloc
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2016-05-17 18:29:08 -0700
committerJason Evans <jasone@canonware.com>2016-06-03 12:27:41 -0700
commit384e88f4518512bd2e727cfd6b73395635bbce50 (patch)
tree8d846a5de88d283194d502d1bc443bc00c27934e /include/jemalloc
parent56e0031d7d0c69c54de4bae1ca3a2fd2823f69ff (diff)
downloadplatform_external_jemalloc_new-384e88f4518512bd2e727cfd6b73395635bbce50.tar.gz
platform_external_jemalloc_new-384e88f4518512bd2e727cfd6b73395635bbce50.tar.bz2
platform_external_jemalloc_new-384e88f4518512bd2e727cfd6b73395635bbce50.zip
Add/use chunk_commit_wrapper().
Diffstat (limited to 'include/jemalloc')
-rw-r--r--include/jemalloc/internal/chunk.h3
-rw-r--r--include/jemalloc/internal/private_symbols.txt1
2 files changed, 4 insertions, 0 deletions
diff --git a/include/jemalloc/internal/chunk.h b/include/jemalloc/internal/chunk.h
index 8cd992d1..52a6d565 100644
--- a/include/jemalloc/internal/chunk.h
+++ b/include/jemalloc/internal/chunk.h
@@ -66,6 +66,9 @@ void chunk_dalloc_cache(tsdn_t *tsdn, arena_t *arena,
void chunk_dalloc_wrapper(tsdn_t *tsdn, arena_t *arena,
chunk_hooks_t *chunk_hooks, void *chunk, size_t size, bool zeroed,
bool committed);
+bool chunk_commit_wrapper(tsdn_t *tsdn, arena_t *arena,
+ chunk_hooks_t *chunk_hooks, void *chunk, size_t size, size_t offset,
+ size_t length);
bool chunk_decommit_wrapper(tsdn_t *tsdn, arena_t *arena,
chunk_hooks_t *chunk_hooks, void *chunk, size_t size, size_t offset,
size_t length);
diff --git a/include/jemalloc/internal/private_symbols.txt b/include/jemalloc/internal/private_symbols.txt
index 5261e02c..bd18e76b 100644
--- a/include/jemalloc/internal/private_symbols.txt
+++ b/include/jemalloc/internal/private_symbols.txt
@@ -159,6 +159,7 @@ chunk_alloc_dss
chunk_alloc_mmap
chunk_alloc_wrapper
chunk_boot
+chunk_commit_wrapper
chunk_dalloc_cache
chunk_dalloc_mmap
chunk_dalloc_wrapper