Method and system for memory allocation in a multiprocessing environment
AssigneeCray Inc.
InventorsPetr Konecny, Simon H. Kahan
Life of this patent
Estimating the term…
Loading patent…
AssigneeCray Inc.
InventorsPetr Konecny, Simon H. Kahan
Estimating the term…
A method and system for allocating and de-allocating memory for threads of an application is provided. An allocation system provides a heap for tracking free tokens of memory that are available for allocation to threads of an application. A heap tracks collections of free tokens of the fixed token size. The allocation system receives memory requests from threads that specify an allocation type of allocate or de-allocate. When multiple memory requests are pending concurrently from multiple threads, then the allocation system attempts to combine memory requests of the same type and of the same token size that are received from different threads. One of the threads is responsible for updating the heap to effect the two memory requests. The allocation system combines multiple memory requests so that the heap need only be accessed once to allocate or de-allocate multiple tokens.
A method in a computer system for allocating memory to threads of an application, the method comprising:
A computer for allocating memory to threads of an application, comprising:
A computer-readable medium encoded with computer-executable instructions for controlling a computer system for managing memory to threads of an application, by a method comprising:
Dependencies are inferred from the claim text.