Patent ID: 6275916
Filing Date: 2001-08-14
Classification: G06F

Abstract:
A method for managing memory in an object oriented program, said object oriented program being capable of using a plurality of fixed pool classes and a plurality of objects belonging to said fixed pool classes, comprising the steps of:determining a maximum number of objects that may be allocated by the object oriented program for each fixed pool class;determining a size of each object that may be allocated;constructing a plurality of memory pools upon initialization of the object oriented program, each of said plurality of memory pools having a predetermined fixed size, each of said plurality of fixed pool classes being associated with one of said plurality of memory pools, wherein a size of each memory pool is determined from the maximum number of and size of objects that may be concurrently allocated for each associated fixed pool class during operation of the object oriented program; andinstantiating a new object belonging to a selected one of said fixed pool classes, said instantiating step including the step of allocating memory for said new object from said associated memory pool.