Deferred memory allocation for application threads
AssigneeHewlett-Packard Development Company, L.P.
InventorRaghav Rao
Life of this patent
Estimating the term…
Abstract
Various systems and methods are provided that facilitate deferred memory allocation. In one method, an attempt to allocate an amount of memory for an application thread is made. If the attempt was unsuccessful and if the application thread is designated for deferred memory allocation, then the application thread is stored in a holding queue. Once the application thread is stored in the holding queue, periodic attempts are made to reallocate the amount of memory for the application thread.
Claims27
A method for providing deferred memory allocation, comprising:
- attempting to allocate an amount of memory for an application thread;
- storing the application thread in a holding queue if the attempt to allocate the amount of memory was unsuccessful and if the application thread is designated for a deferred memory allocation;
- and
- periodically attempting to reallocate the amount of memory for the application thread while the application thread is stored in the holding queue.
A program embodied in a computer readable storage medium for providing deferred memory allocation, comprising:
- code that attempts to allocate an amount of memory for an application thread;
- code that stores the application thread in a holding queue if the attempt to allocate the amount of memory was unsuccessful and if the application thread is designated for a deferred memory allocation;
- and
- code that periodically attempts to reallocate the amount of memory for the application thread while the application thread is stored in the holding queue.
An apparatus for providing deferred memory allocation, comprising:
- a processor circuit having a processor and a memory;
- deferred memory allocation logic stored in the memory and executable by the processor, the deferred memory allocation logic comprising:
- logic that attempts to allocate an amount of memory for an application thread;
- logic that stores the application thread in a holding queue if the attempt to allocate the amount of memory was unsuccessful and if the application thread is designated for a deferred memory allocation;
- and
- logic that periodically attempts to reallocate the amount of memory for the application thread while the application thread is stored in the holding queue.
An apparatus for providing deferred memory allocation, comprising:
- means for attempting to allocate an amount of memory for an application thread;
- means for storing the application thread in a holding queue if the attempt to allocate the amount of memory was unsuccessful and if the application thread is designated for a deferred memory allocation;
- and
- means for periodically attempting to reallocate the amount of memory for the application thread while the application thread is stored in the holding queue.
Dependencies are inferred from the claim text.