Patent ID: 6581077
Filing Date: 2003-06-17
Classification: G06F,Y10S

Abstract:
A method for storing short-lived objects defined within an object-oriented programming system in a virtual machine for executing platform-independent code, wherein short-lived objects are created during operation of the virtual machine, the method comprising;allocating a storage area reserved for short-lived objects, wherein the storage area is subject to garbage collection using a first garbage collection method optimized for short-lived objects; receiving a request to create an object; determining if the object is identified in a table of short-lived objects; and if the object is identified as a short-lived object, creating the short-lived object, and placing the short-lived object in the storage area; wherein the storage area is an area of a heap used by the virtual machine; wherein a remainder of the heap is subject to garbage collection using a second garbage collection method optimized for ordinary-lived objects.