Memory management using migration for a run-time environment
    71.
    发明授权
    Memory management using migration for a run-time environment 有权
    内存管理使用迁移运行时环境

    公开(公告)号:US06760825B1

    公开(公告)日:2004-07-06

    申请号:US09515889

    申请日:2000-02-29

    IPC分类号: G06F1200

    CPC分类号: G06F9/485 G06F9/4493

    摘要: A method and software for managing memory are provided in which objects residing in session memory are formatted so the references contained in the objects are in a machine-independent format, namely, that the references are encoded numerically. An exit table is provided to handle references with session memory that refer to locations in call memory, in which each entry in the exit table is associated with a corresponding reference in session memory and contains a pointer to the location in call memory.

    摘要翻译: 提供了一种用于管理存储器的方法和软件,其中驻留在会话存储器中的对象被格式化,使得包含在对象中的引用是与机器无关的格式,即引用被数字地编码。 提供出口表以处理涉及调用存储器中的位置的会话存储器的引用,其中退出表中的每个条目与会话存储器中的对应引用相关联,并且包含指向调用存储器中的位置的指针。

    Methods for managing memory in a run-time environment including activation and deactivation of objects
    72.
    发明授权
    Methods for managing memory in a run-time environment including activation and deactivation of objects 有权
    在运行时环境中管理内存的方法,包括激活和停用对象

    公开(公告)号:US06604182B1

    公开(公告)日:2003-08-05

    申请号:US09512622

    申请日:2000-02-25

    IPC分类号: G06F1200

    摘要: Methods for managing memory in a run-time environment are described, in which an object is activated by both initializing the object and registering a routine to deallocate or deactivate the object at the end of a call (e.g. by setting it to null to unreference the object), which prevents the object, which may be a large object, from being migrated into session memory. This deactivation routine is called after the finalization of garbage collected objects that may use the object. In a subsequent call, the object is checked before use to determine if the object is already activated and re-initialized if the object is not activated.

    摘要翻译: 描述了在运行时环境中管理存储器的方法,其中通过初始化对象和注册例程来激活对象,以在调用结束时释放或停用该对象(例如,通过将其设置为空,以使其不发送 对象),这可以防止可能是大对象的对象被迁移到会话存储器中。 在可能使用对象的垃圾收集对象的最终化之后调用此停用例程。 在后续调用中,在使用前检查对象,以确定对象是否已被激活,如果对象未被激活,则重新初始化该对象。