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.

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

    Machine-independent memory management system within a run-time environment
    5.
    发明授权
    Machine-independent memory management system within a run-time environment 有权
    机器独立的内存管理系统在运行时环境中

    公开(公告)号:US06499095B1

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

    申请号:US09248291

    申请日:1999-02-11

    IPC分类号: G06F1200

    CPC分类号: G06F12/10 G06F9/4493

    摘要: An invariant numeric reference format is defined in a run-time environment for both run-time and storage use. A numeric reference to an object encodes the location of the object as an integral offset from an implicit machine pointer. In environments where the size of contiguous virtual memory segments is limited, objects are stored in a number of fixed-size contiguous chunks in virtual memory called pages. A page-offset numeric reference includes an offset and a page number, which is used to index a page map that contains a page pointer to the beginning of the page. Page-offset numeric references are dereferenced by adding the offset in the numeric reference to the page pointer obtained from the page map based on the page number in the numeric reference.

    摘要翻译: 在运行时环境中定义不变数字参考格式,用于运行时和存储使用。 对对象的数字引用将对象的位置编码为与隐式机器指针的整体偏移量。 在连续的虚拟内存段的大小受限的环境中,对象被存储在称为页面的虚拟内存中的多个固定大小的连续块中。 页面偏移量数字引用包括偏移量和页码,用于对包含页面开头的页面指针的页面映射进行索引。 通过将数字引用中的偏移量添加到从页面映射获取的页面指针中,基于数字参考中的页码,将取消引用页面偏移量数字引用。

    Using a virtual machine instance as the basic unit of user execution in a server environment
    6.
    发明授权
    Using a virtual machine instance as the basic unit of user execution in a server environment 有权
    在服务器环境中使用虚拟机实例作为用户执行的基本单位

    公开(公告)号:US07490330B2

    公开(公告)日:2009-02-10

    申请号:US11032577

    申请日:2005-01-10

    IPC分类号: G06F13/00

    摘要: Techniques are provided for instantiating separate Java virtual machines for each session established by a server. Because each session has its own virtual machine, the Java programs executed by the server for each user connected to the server are insulated from the Java programs executed by the server for all other users connected to the server. The separate VM instances can be created and run, for example, in separate units of execution that are managed by the operating system of the platform on which the server is executing. For example, the separate VM instances may be executed either as separate processes, or using separate system threads. Because the units of execution used to run the separate VM instances are provided by the operating system, the operating system is able to ensure that the appropriate degree of insulation exists between the VM instances.

    摘要翻译: 提供了技术,用于为由服务器建立的每个会话实例化单独的Java虚拟机。 因为每个会话都有自己的虚拟机,所以服务器为连接到服务器的每个用户执行的Java程序与服务器为连接到服务器的所有其他用户的服务器执行的Java程序隔离。 可以创建并运行单独的VM实例,例如,由执行服务器的平台的操作系统管理的单独执行单元。 例如,单独的VM实例可以作为单独的进程执行,也可以使用单独的系统线程执行。 由于用于运行单独VM实例的执行单元由操作系统提供,因此操作系统能够确保VM实例之间存在适当的绝缘程度。

    Using a virtual machine instance as the basic unit of user execution in a server environment
    8.
    发明授权
    Using a virtual machine instance as the basic unit of user execution in a server environment 有权
    在服务器环境中使用虚拟机实例作为用户执行的基本单位

    公开(公告)号:US06854114B1

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

    申请号:US09512620

    申请日:2000-02-25

    IPC分类号: G06F9/44 G06F9/455 G06F12/00

    摘要: Techniques are provided for instantiating separate Java virtual machines for each session established by a server. Because each session has its own virtual machine, the Java programs executed by the server for each user connected to the server are insulated from the Java programs executed by the server for all other users connected to the server. The separate VM instances can be created and run, for example, in separate units of execution that are managed by the operating system of the platform on which the server is executing. For example, the separate VM instances may be executed either as separate processes, or using separate system threads. Because the units of execution used to run the separate VM instances are provided by the operating system, the operating system is able to ensure that the appropriate degree of insulation exists between the VM instances.

    摘要翻译: 提供了技术,用于为由服务器建立的每个会话实例化单独的Java虚拟机。 因为每个会话都有自己的虚拟机,所以服务器为连接到服务器的每个用户执行的Java程序与服务器为连接到服务器的所有其他用户的服务器执行的Java程序隔离。 可以创建并运行单独的VM实例,例如,由执行服务器的平台的操作系统管理的单独执行单元。 例如,单独的VM实例可以作为单独的进程执行,也可以使用单独的系统线程执行。 由于用于运行单独VM实例的执行单元由操作系统提供,因此操作系统能够确保VM实例之间存在适当的绝缘程度。

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

    Paged memory management system within a run-time environment
    10.
    发明授权
    Paged memory management system within a run-time environment 有权
    在运行时环境中分页内存管理系统

    公开(公告)号:US06434685B1

    公开(公告)日:2002-08-13

    申请号:US09248297

    申请日:1999-02-11

    IPC分类号: G06F1210

    CPC分类号: G06F12/10

    摘要: In a paged memory system, memory is allocated as pages and aligned on 2N-byte boundaries that are at least as large as the largest page size. Memory management information about the page is stored in a page header at the beginning of the page, while the remaining space of the page is devoted for storing objects. The page header for the page on which at least some of the object is stored is located by masking off the lower N-bits of the machine pointer. These operation can be applied to converting machine pointers into and out of page-offset numeric references.

    摘要翻译: 在分页存储器系统中,存储器被分配为页面并且在至少与最大页面大小一样大的2N字节边界上对齐。 关于页面的内存管理信息存储在页面开头的页眉中,页面的剩余空间用于存储对象。 存储有至少一些对象的页面的页面标题通过掩蔽机器指针的较低N位来定位。 这些操作可以应用于将机器指针转换成页偏移量数字引用。