diff options
author | Jason Evans <jasone@canonware.com> | 2016-04-07 14:24:14 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2016-06-03 19:27:41 (GMT) |
commit | d78846c98978ea439c2514638de69be6d3d86a11 (patch) | |
tree | ddc390ab30410949969192467e3b78a08efb7ceb /src/arena.c | |
parent | fae83440989e06c52acea0d06e70a4c27b9739f5 (diff) | |
download | jemalloc-d78846c98978ea439c2514638de69be6d3d86a11.zip jemalloc-d78846c98978ea439c2514638de69be6d3d86a11.tar.gz jemalloc-d78846c98978ea439c2514638de69be6d3d86a11.tar.bz2 |
Replace extent_achunk_[gs]et() with extent_slab_[gs]et().
Diffstat (limited to 'src/arena.c')
-rw-r--r-- | src/arena.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arena.c b/src/arena.c index 5a4605d..011320e 100644 --- a/src/arena.c +++ b/src/arena.c @@ -525,8 +525,8 @@ arena_chunk_register(tsdn_t *tsdn, arena_t *arena, arena_chunk_t *chunk, * runs is tracked individually, and upon chunk deallocation the entire * chunk is in a consistent commit state. */ - extent_init(&chunk->extent, arena, chunk, chunksize, true, zero, true); - extent_achunk_set(&chunk->extent, true); + extent_init(&chunk->extent, arena, chunk, chunksize, true, zero, true, + true); return (chunk_register(tsdn, chunk, &chunk->extent)); } @@ -1723,7 +1723,7 @@ arena_purge_to_limit(tsdn_t *tsdn, arena_t *arena, size_t ndirty_limit) qr_new(&purge_runs_sentinel, rd_link); extent_init(&purge_chunks_sentinel, arena, NULL, 0, false, false, - false); + false, false); npurge = arena_stash_dirty(tsdn, arena, &chunk_hooks, ndirty_limit, &purge_runs_sentinel, &purge_chunks_sentinel); |