Skip to content

Fix arena_extent_split() and arena_extent_merge() #119

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/pool/pool_jemalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ static bool arena_extent_split(extent_hooks_t *extent_hooks, void *addr,
(void)arena_ind; // unused

// TODO: add this function to the provider API to support Windows and USM
return false; // false means success (split is a nop)
return true; // true means failure (unsupported)
}

// arena_extent_merge - an extent merge function conforms to the extent_merge_t type and optionally
Expand All @@ -239,7 +239,7 @@ static bool arena_extent_merge(extent_hooks_t *extent_hooks, void *addr_a,
(void)arena_ind; // unused

// TODO: add this function to the provider API to support Windows and USM
return false; // false means success (merge is a nop)
return true; // true means failure (unsupported)
}

// The extent_hooks_t structure comprises function pointers which are described individually below.
Expand Down