Patent ID: 8555255
Filing Date: 2013-10-08
Classification: G06F

Abstract:
1. A computer implemented method comprising: allocating in a memory, from an object allocation site, a run-time object having a hash-value field comprising a hash value identifying the run-time object from among other run-time objects of a class, wherein the object allocation site is a site in a program allocating the run-time object; embedding into the hash-value field as at least a part of the hash value identifying the run-time object from among other run-time objects of a class, in response to allocating the run-time object, an allocation site identifier corresponding to the allocation site; acquiring the hash value from the hash-value field; determining the acquiring the hash-value is a first access of the hash-value field of the run-time object; generating, in response to determining the acquiring the hash-value field is the first access of the hash-value field, a first value that is unrelated to the allocation site; recording, into a first correspondence table in response to generating the first value, a correspondence between the first value and information identifying the allocation site; storing, in response to determining the acquiring the hash-value field is a first access of the hash-value field of the run-time object, the first value as a first component of the hash value; and identifying, in response to the acquiring and based on the hash value, the object allocation site based upon the first value and the correspondence, the identifying comprises obtaining, from the first correspondence table, the correspondence between the first value within the hash value acquired from the hash-value field of the run-time object, and information for identifying the allocation site that corresponds to the first value, thus identifying the allocation site that corresponds to the first value.