Patent ID: 8996834
Filing Date: 2015-03-31
Classification: G06F

Abstract:
1. A computer performed method for managing a heap, the method comprising: within an operating system executing within a computer system, receiving a first call to an application programming interface for generating new sub-heaps, wherein a first sub-heap identifier for uniquely identifying a sub-heap is provided in conjunction with the application programming interface call; responsive to receiving the first call to the application programming interface, generating a first sub-heap; further responsive to receiving the first call to the application programming interface, generating and returning a first sub-heap handle, wherein the first sub-heap handle is associated with the first sub-heap; subsequent to the receiving a first call, receiving a second call to the application programming interface call for generating new sub-heaps, wherein a second sub-heap identifier is provided in conjunction with the second call; and responsive to receiving the second call, generating and returning a second sub-heap handle, wherein if the second sub-heap identifier is the same as the first sub-heap identifier, the second sub-heap handle is associated with the first sub-heap, whereby the first sub-heap is shared, and wherein if the second sub-heap identifier is different from the first sub-heap identifier, a second sub-heap is generated and the second sub-heap handle is associated with the second-sub-heap.