主权项 |
1. A computer-implemented method for implementation by one or more data processors forming part of at least one computing device, the method comprising:
determining, by a memory manager of a database, a size class for each of a plurality of memory allocation requests; assigning, by the memory manager and based on the determined size classes, which of a plurality of sub-allocators forming part of a plurality of memory pools should handle each memory allocation request, the sub-allocators assignments being based on predefined size ranges for each size class; identifying, by the corresponding assigned sub-allocators, locations within the memory for each memory allocation request; and handling, by the corresponding assigned sub-allocators, the memory allocation requests to allocate memory at the identified locations such that one of the sub-allocators utilizing both thread local storage and core-striped memory management. |