| 221 | try_split = try_merge = try_purge_lazy = try_purge_forced = true; |
| 222 | } |
| 223 | TEST_END |
| 224 | |
| 225 | TEST_BEGIN(test_extent_auto_hook) { |
| 226 | unsigned arena_ind; |
| 227 | size_t new_size, sz; |
| 228 | extent_hooks_t *new_hooks; |
| 229 | |
| 230 | extent_hooks_prep(); |
| 231 | |
| 232 | sz = sizeof(unsigned); |
| 233 | new_hooks = &hooks; |
| 234 | new_size = sizeof(extent_hooks_t *); |
| 235 | assert_d_eq(mallctl("arenas.create", (void *)&arena_ind, &sz, |
| 236 | (void *)&new_hooks, new_size), 0, "Unexpected mallctl() failure"); |
| 237 | |
| 238 | test_skip_if(check_background_thread_enabled()); |
| 239 | test_extent_body(arena_ind); |
| 240 | } |
| 241 | TEST_END |
| 242 | |
| 243 | int |
nothing calls this directly
no test coverage detected