Reducing the memory footprint of a session duration semispace
    11.
    发明授权
    Reducing the memory footprint of a session duration semispace 有权
    减少会话持续时间半空间的内存占用

    公开(公告)号:US06279012B1

    公开(公告)日:2001-08-21

    申请号:US09172095

    申请日:1998-10-13

    IPC分类号: G06F1200

    CPC分类号: G06F12/0253 Y10S707/99957

    摘要: A method and apparatus for performing copying garbage collection is provided. In a computer's memory, objects are stored in a permanent semispace. When a garbage collection event is detected, a garbage collection cycle is commenced. During the garbage collection cycle, the live objects in the permanent semispace are copied into a temporary semispace. After copying all the live objects into the temporary semispace, the live objects are then recopied into the permanent semispace.

    摘要翻译: 提供了一种用于执行复制垃圾回收的方法和装置。 在计算机的内存中,对象存储在永久的半空间中。 当检测到垃圾回收事件时,开始垃圾收集循环。 在垃圾收集循环期间,永久半空间中的活动对象被复制到临时半空间中。 将所有活动对象复制到临时半空间之后,活动对象将被重新复制到永久的半空间中。

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

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

    Accessing shorter-duration instances of activatable objects based on object references stored in longer-duration memory
    15.
    发明授权
    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)使用类对象中的数据来定位可重用对象的实例。

    Write-barrier maintenance in a garbage collector
    17.
    发明授权
    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.

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

    Method and apparatus for managing shared memory in a run-time environment
    18.
    发明授权
    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.

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