Patent Number: 6,253,226

Title: Duration-based memory management of complex objects

Abstract: Memory for complex objects is maintained in pools of dynamic memory on a "per-duration" basis. Each duration is assigned its own area or areas of the heap, and all the memory allocation for a specific duration comes from those assigned areas of the heap. Memory allocation for a complex object is performed with respect to a single duration and, hence, memory is allotted for the complex object from the corresponding memory pool. When a duration is terminated, the memory allocated for its corresponding heap is freed, thereby releasing memory for all the complex object using the memory from the memory pool for that duration. Management of other resources for complex objects such as opening and closing files may also be duration-based. In one aspect, the memory management of complex objects is located in an automatically generated client stub routine for a remote procedure call. Accordingly, the interface description language (IDL) for the remote procedure call is extended to incorporate the duration idea for out parameters.

Inventors: Chidambaran; Lakshminarayanan (Fremont, CA), Krishnaswamy; Srinath (Fremont, CA), Wijaya; Joyo (Menlo Park, CA)

Assignee: Oracle Corporation

International Classification: G06F 12/02 (20060101); G06F 12/12 (20060101); G06F 009/00 ()

Expiration Date: 06/26/2018