Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: use
malloc
instead of region
allocator in procedure name cache
The procedure name cache uses a region for hash table entry allocation, but the cache is a thread local variable, while the `region` uses a `slab` allocator the lifetime of which is bounded by `main`, while thread locals are destroyed after `main`: use the `malloc` allocator instead. Benchmark from #7207 shows that this change does not effect performance. Closes #8777 NO_CHANGELOG=<leak does not affect users> NO_DOC=bugfix NO_TEST=<detected by ASAN> (cherry picked from commit 7135910)
- Loading branch information