Skip to content

Commit 9bf7a0d

Browse files
authored
Merge pull request #119 from ldorau/Fix_arena_extent_split_and_arena_extent_merge
Fix arena_extent_split() and arena_extent_merge()
2 parents d940c5e + 4f599ec commit 9bf7a0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pool/pool_jemalloc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ static bool arena_extent_split(extent_hooks_t *extent_hooks, void *addr,
218218
(void)arena_ind; // unused
219219

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

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

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

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

0 commit comments

Comments
 (0)