Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for distributed memory allocation. The system identifies a consumer thread which allocates substantially more memory blocks than it deallocates and a producer thread which deallocates substantially more memory blocks than it allocates. The system establishes a dedicated channel for direct allocation and deallocation between the consumer thread and the producer thread.
展开▼