Memory management using migration for a run-time environment
    1.
    发明授权
    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.

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

    Method and apparatus for managing shared memory in a run-time environment
    2.
    发明授权
    Method and apparatus for managing shared memory in a run-time environment 有权
    在运行时环境中管理共享内存的方法和装置

    公开(公告)号:US06829761B1

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

    申请号:US09512618

    申请日:2000-02-25

    IPC分类号: G06F944

    CPC分类号: G06F9/445

    摘要: A method and apparatus for managing a run-time environment is provided for improving performance and scalability of networked computer systems. In one example of the invention, a method starts by loading a class file, the class file specifying a class that includes a static class variable and a static initializer to initialize the static class variable. The static initializer is then invoked to initialize the static class variable. The class and the initialized static class variable are then saved in a second class file. The second class file is then loaded into a shared memory, the second class file including the class and the initialized static class variable.

    摘要翻译: 提供了一种用于管理运行时环境的方法和装置,用于提高联网计算机系统的性能和可扩展性。 在本发明的一个示例中,方法通过加载类文件,类文件指定包括静态类变量的类和静态初始化器来初始化静态类变量。 然后调用静态初始化器来初始化静态类变量。 然后将类和初始化的静态类变量保存在第二个类文件中。 然后将第二类文件加载到共享内存中,第二类文件包括类和初始化的静态类变量。

    Accessing shorter-duration instances of activatable objects based on object references stored in longer-duration memory
    4.
    发明授权
    Accessing shorter-duration instances of activatable objects based on object references stored in longer-duration memory 有权
    基于存储在较长持​​续时间的内存中的对象引用访问可激活对象的较短持续时间的实例

    公开(公告)号:US07080382B2

    公开(公告)日:2006-07-18

    申请号:US09768823

    申请日:2001-01-25

    CPC分类号: G06F9/4488

    摘要: Techniques are provided for accessing an instance of a recreatable object in a shorter-duration memory based on a reference located in a longer-duration memory, where the shorter-duration memory is associated with a call. One technique involves (1) locating, within the shorter-duration memory, a context structure associated with the call; (2) locating an XREF pointers array based on data cached within the context structure; (3) determining whether the XREF pointers array includes a pointer associated with the reference; and (4) if the XREF pointers array includes a pointer associated with the reference, then following the pointer to locate the instance within the shorter-duration memory. Another technique, which may be employed in addition to or instead of the first technique, involves: (1) when a class is activated, generating, within the shorter-duration memory, a class object associated with the class; (2) storing, within the class object, data for locating instances of recreatable objects associated with the class; (3) to dereference the reference, performing the steps of (a) determining that the reference is associated with the class; and (b) using the data within the class object to locate the instance of the recreatable object.

    摘要翻译: 提供技术用于基于位于更长持续时间的存储器中的参考来访问较短持续时间的存储器中的可重新启动对象的实例,其中较短持续时间的存储器与呼叫相关联。 一种技术涉及(1)在较短持续时间的存储器内定位与呼叫相关联的上下文结构; (2)基于在上下文结构内缓存的数据来定位XREF指针数组; (3)确定所述XREF指针阵列是否包括与所述引用相关联的指针; 和(4)如果XREF指针数组包括与引用相关联的指针,则跟随指针以在较短持续时间的内存中定位实例。 除了第一技术之外或替代第一技术可以采用的另一种技术包括:(1)当类被激活时,在较短持续时间的存储器内生成与该类相关联的类对象; (2)在类对象内存储用于定位与该类相关联的可重新启动对象的实例的数据; (3)取消引用引用,执行以下步骤:(a)确定引用与该类相关联; 和(b)使用类对象中的数据来定位可重用对象的实例。

    Method for managing pointers to external objects in a run-time environment
    5.
    发明授权
    Method for managing pointers to external objects in a run-time environment 有权
    在运行时环境中管理指向外部对象的指针的方法

    公开(公告)号:US07158995B2

    公开(公告)日:2007-01-02

    申请号:US10406787

    申请日:2003-04-03

    IPC分类号: G06F17/00

    摘要: A method and software for managing pointers to external objects in a run-time environment are described in which eager external references are provided that allow session memory objects to point directly to certain call memory objects with machine pointers. The eager external references contain enough information to recreate the call memory objects in call memory at the beginning of the call and fix the session memory objects to point to the new locations of the recreated call memory objects.

    摘要翻译: 描述了一种用于在运行时环境中管理指向外部对象的指针的方法和软件,其中提供了允许会话存储器对象使用机器指针直接指向某些调用存储器对象的渴望的外部引用。 激烈的外部引用包含足够的信息,以在调用开始时重新创建调用存储器中的调用存储器对象,并修复会话存储器对象以指向重新创建的调用存储器对象的新位置。

    Memory management within a run-time environment
    6.
    发明授权
    Memory management within a run-time environment 有权
    运行时环境中的内存管理

    公开(公告)号:US06457019B1

    公开(公告)日:2002-09-24

    申请号:US09248295

    申请日:1999-02-11

    IPC分类号: G06F1700

    摘要: Objects that are managed within a run-time environment are stored on N-bit aligned addresses. Due to the alignment restriction, the N least significant bits of a reference to an object are available for storing information about the storage properties of the object. This information is extractable by fast register operations. The storage properties can include the lifetime, format, and contiguity of the object, or a combination of these properties. If the run-time environment implements a generational garbage collector, the reference tags are used to encode whether or not the object is recently allocated.

    摘要翻译: 在运行时环境中管理的对象存储在N位对齐的地址上。 由于对齐限制,对对象的引用的N个最低有效位可用于存储关于对象的存储属性的信息。 该信息可以通过快速注册操作来提取。 存储属性可以包括对象的生命周期,格式和连续性,或这些属性的组合。 如果运行时环境实现代数垃圾收集器,则引用标记用于编码对象是否最近被分配。

    Write-barrier maintenance in a garbage collector
    8.
    发明授权
    Write-barrier maintenance in a garbage collector 有权
    垃圾收集器中的写屏障维护

    公开(公告)号:US06931423B2

    公开(公告)日:2005-08-16

    申请号:US10339707

    申请日:2003-01-09

    IPC分类号: G06F12/02 G06F17/00

    摘要: An approach is provided for maintaining a write barrier during an assignment operation between a source object and a target object. A source tag is obtained from a first reference to the source object, and a target tag is obtained from a second reference to the target object. The source tag and the target tag are compared, such that if the source tag is in a predetermined relationship with the target tag, then a data structure (e.g., a remember table or exit table) associated with the write barrier is updated in accordance with the assignment operation. In one embodiment, the routine to update the data structure is dispatched from a function table based on a tag value in a header associated with the source object.

    摘要翻译: 提供了一种用于在源对象和目标对象之间的分配操作期间维持写入屏障的方法。 从源对象的第一个引用获得源标签,并从对目标对象的第二个引用获取目标标记。 对源标签和目标标签进行比较,使得如果源标签与目标标签处于预定关系中,则与写入屏障相关联的数据结构(例如,记住表或退出表)根据 分配操作。 在一个实施例中,基于与源对象相关联的标题中的标签值,从功能表中调度更新数据结构的例程。