Patent ID: 9021496
Filing Date: 2015-04-28
Classification: G06F

Abstract:
1. A method of recording an allocation site for an object to reduce memory overhead in electronic memory, comprising: replacing a pointer included in an object structure of said object and pointing to a class of said object with a pointer to an allocation site descriptor which includes information on an allocation site at which said object is created and a pointer to said class of said object; using a common allocation site descriptor for objects created at a same allocation site; and accessing said class of said object by referring to said pointer to said class in said allocation site descriptor, wherein a region in which said pointer to said class of said object is recorded for the use of the allocation is used as said allocation site descriptor, wherein in a case where said region in which said pointer to said class of said object is recorded does not exist, a self pointer which is a pointer to said class itself is used as said allocation site descriptor, and wherein a number of classes is less than a number of allocation sites such that the memory overhead of the electronic memory is reduced.