×

Method and apparatus for storing long-lived objects in a virtual machine

  • US 6,681,234 B2
  • Filed: 12/12/2000
  • Issued: 01/20/2004
  • Est. Priority Date: 12/12/2000
  • Status: Active Grant
First Claim
Patent Images

1. A method for storing long-lived objects defined within an object-oriented programming system in a virtual machine for executing platform-independent code, wherein long-lived objects are created during initialization of the virtual machine, the method comprising;

  • allocating a storage area reserved for long-lived objects, wherein the storage area is not subject to garbage collection;

    receiving a request to create an object;

    determining if the object is identified in a table of long-lived objects;

    if the object is identified as a long-lived object, creating the long-lived object, and placing the long-lived object in the storage area;

    allowing a garbage collector to reclaim unused storage in the storage area one time just prior to closing the storage area; and

    closing the storage area to new objects when initialization of the virtual machine is complete.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×