summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2016-05-18 01:29:08 (GMT)
committerJason Evans <jasone@canonware.com>2016-06-03 19:27:41 (GMT)
commit384e88f4518512bd2e727cfd6b73395635bbce50 (patch)
tree8d846a5de88d283194d502d1bc443bc00c27934e /include
parent56e0031d7d0c69c54de4bae1ca3a2fd2823f69ff (diff)
downloadjemalloc-384e88f4518512bd2e727cfd6b73395635bbce50.zip
jemalloc-384e88f4518512bd2e727cfd6b73395635bbce50.tar.gz
jemalloc-384e88f4518512bd2e727cfd6b73395635bbce50.tar.bz2
Add/use chunk_commit_wrapper().
Diffstat (limited to 'include')
-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 8cd992d..52a6d56 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 5261e02..bd18e76 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