Patent ID: 9507713
Filing Date: 2016-11-29
CPC Classification: G06F

Claim Text:
1. A computer-implemented method comprising: receiving, at a computing device, a set of software instructions for execution by the computing device; compiling the set of software instructions to generate a set of executable instructions, the compiling including identifying a first memory object allocation instruction; executing, by the computing device, the set of executable instructions, the executing including allocating, in a young garbage collection generation, a plurality of memory objects with the first memory object allocation instruction; determining a survival rate of the plurality of memory objects allocated by the first memory object allocation instruction; determining a count of a number of memory objects allocated by the first memory allocation instruction; and responsive to the survival rate being larger than a survival rate threshold and the count of the number of memory objects allocated by the first memory allocation instruction being larger than an activity rate threshold, replacing, in the set of executable instructions, the first memory object allocation instruction with a second memory object allocation instruction that is configured to directly allocate memory objects in an old garbage collection generation.