commit | 6ee3981306005c8e66001daf49b4576944bc30aa | [log] [tgz] |
---|---|---|
author | Cliff Woolley <jwoolley@apache.org> | Mon Apr 01 05:41:39 2002 +0000 |
committer | Cliff Woolley <jwoolley@apache.org> | Mon Apr 01 05:41:39 2002 +0000 |
tree | b8f0234c7ee292cee1f20e6cdf9211667852e705 | |
parent | edf91123c7c3f5de7ca7b7b0f2fe5238a3df89fd [diff] |
Implement the bucket allocator. This implementation uses a three-stage allocation scheme: (1) allocate from the freelist, (2) if that fails, carve a chunk off of an 8KB block, or (3) just pass the thing directly to apr_allocator_alloc(). In early testing, this implementation has been shown to perform better than the existing alternatives. Reviewed by: Brian Pane git-svn-id: https://svn.apache.org/repos/asf/apr/apr-util/trunk@58588 13f79535-47bb-0310-9956-ffa450edef68