memtx: implement api for memory allocator selection
Add new 'memtx_allocator' option to box.cfg{} which allows to select the appropriate allocator for memtx tuples if necessary. Possible values are "system" for malloc allocator and "small" for default small allocator. Closes #5419 @TarantoolBot document Title: Add new 'memtx_allocator' option to box.cfg{} Add new 'memtx_allocator' option to box.cfg{} which allows to select the appropriate allocator for memtx tuples if necessary. Possible values are "system" for malloc allocator and "small" for default small allocator.
Showing
- changelogs/unreleased/gh-5419-implement-ability-to-choose-memtx-allocator.md 15 additions, 0 deletions...ed/gh-5419-implement-ability-to-choose-memtx-allocator.md
- src/box/box.cc 16 additions, 0 deletionssrc/box/box.cc
- src/box/lua/load_cfg.lua 2 additions, 0 deletionssrc/box/lua/load_cfg.lua
- src/box/memtx_engine.cc 16 additions, 2 deletionssrc/box/memtx_engine.cc
- src/box/memtx_engine.h 10 additions, 7 deletionssrc/box/memtx_engine.h
- test/app-tap/init_script.result 1 addition, 0 deletionstest/app-tap/init_script.result
- test/box/admin.result 2 additions, 0 deletionstest/box/admin.result
- test/box/cfg.result 4 additions, 0 deletionstest/box/cfg.result
- test/box/misc.result 1 addition, 0 deletionstest/box/misc.result
Loading
Please register or sign in to comment