summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2016-05-18 01:17:04 (GMT)
committerJason Evans <jasone@canonware.com>2016-06-03 19:27:41 (GMT)
commit56e0031d7d0c69c54de4bae1ca3a2fd2823f69ff (patch)
tree05fe46340c5b76907990bb7a273bcc810c75c7be /include
parent4d2d9cec5a82c80e0cabb1c4fc0473aca0cc5a09 (diff)
downloadjemalloc-56e0031d7d0c69c54de4bae1ca3a2fd2823f69ff.zip
jemalloc-56e0031d7d0c69c54de4bae1ca3a2fd2823f69ff.tar.gz
jemalloc-56e0031d7d0c69c54de4bae1ca3a2fd2823f69ff.tar.bz2
Add/use chunk_decommit_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 ab102d2..8cd992d 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_decommit_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_purge_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 c237ab3..5261e02 100644
--- a/include/jemalloc/internal/private_symbols.txt
+++ b/include/jemalloc/internal/private_symbols.txt
@@ -162,6 +162,7 @@ chunk_boot
chunk_dalloc_cache
chunk_dalloc_mmap
chunk_dalloc_wrapper
+chunk_decommit_wrapper
chunk_deregister
chunk_dss_boot
chunk_dss_postfork_child