作者: KIEM-PHONG VO
DOI: 10.1002/(SICI)1097-024X(199603)26:3<357::AID-SPE15>3.0.CO;2-#
关键词:
摘要: Despite its popularity, malloc's shortcomings frequently cause programmers to code around it. The new library Vmalloc generalizes malloc give more control over memory allocation. introduces the idea of organizing into separate regions, each with a discipline get raw and method manage Applications can write their own disciplines manipulate arbitrary type or just better organize in region by creating regions out memory. provided set allocation methods include general purpose allocation, fast special cases aids for debugging profiling. A compatible interface enables current applications select using environment variables so they tune performance perform other tasks such as profiling usage, generating traces calls errors. study comparing currently popular implementations shows that is competitive best these allocators. gain further improvement right mixture different methods.