Garbage collection for shared data entities
    1.
    发明授权
    Garbage collection for shared data entities 有权
    共享数据实体的垃圾收集

    公开(公告)号:US07788300B2

    公开(公告)日:2010-08-31

    申请号:US10942736

    申请日:2004-09-15

    IPC分类号: G06F17/00

    CPC分类号: G06F12/0253

    摘要: Methods and apparatus, including computer systems and program products, for garbage collection of shared data entities. A computer program identifies a set of virtual machines (VMs), each operable to generate references to shared entities stored in shared memory. Each shared entity can include references to one or more of the other shared entities. The program waits for the VMs to independently identify the shared entities that they reference directly, and then initiates a shared garbage collection procedure to identify the shared entities that are not directly or indirectly referenced by any of the VMs and to reclaim the shared memory being used to store those shared entities. The VMs are prevented from generating new references to the shared entities solely during a portion of the shared garbage collection procedure. By minimizing the time during which access to the shared entities is restricted, performance and scalability can be increased.

    摘要翻译: 方法和设备,包括计算机系统和程序产品,用于共享数据实体的垃圾收集。 计算机程序识别一组虚拟机(VM),每个虚拟机可操作以生成对存储在共享存储器中的共享实体的引用。 每个共享实体可以包括对一个或多个其他共享实体的引用。 该程序等待虚拟机独立地识别它们直接引用的共享实体,然后启动共享垃圾回收过程,以识别任何虚拟机不直接或间接引用的共享实体,并回收所使用的共享内存 存储这些共享实体。 VM被阻止仅在共享垃圾收集过程的一部分期间生成对共享实体的新引用。 通过最小化对共享实体的访问受限的时间,可以提高性能和可扩展性。

    Robust sharing of runtime systems
    3.
    发明授权
    Robust sharing of runtime systems 有权
    运行时系统的稳健共享

    公开(公告)号:US07707583B2

    公开(公告)日:2010-04-27

    申请号:US10851794

    申请日:2004-05-20

    IPC分类号: G06F3/00 G06F9/46

    摘要: Methods and apparatus, including computer systems and program products, for sharing objects in runtime systems and for providing isolation between user sessions in a scalable manner. A user context corresponding to a user session is stored in a shared memory area. Upon receiving a request corresponding to the user session, a process is selected from a set of operating system processes, and a runtime system is selected from a set of runtime systems. The runtime system is bound to the process, and the user context is associated with the runtime system to process the request. In some implementations, sharing user contexts enables virtual machines to be used in a shared but isolated manner: Each user context can be exclusively associated with an available virtual machine from a fixed set of virtual machines, and each virtual machine can be exclusively executed in an available process from a fixed set of processes.

    摘要翻译: 用于在运行时系统中共享对象并以可扩展方式在用户会话之间提供隔离的方法和装置,包括计算机系统和程序产品。 与用户会话相对应的用户上下文存储在共享存储器区域中。 在接收到与用户会话相对应的请求时,从一组操作系统进程中选择一个进程,并且从一组运行时系统中选择运行时系统。 运行时系统被绑定到进程,并且用户上下文与运行时系统相关联以处理该请求。 在一些实现中,共享用户上下文使虚拟机能够以共享但隔离的方式使用:每个用户上下文可以与固定的一组虚拟机可用的虚拟机完全相关联,并且每个虚拟机可以在 可用流程来自固定的流程。

    SYSTEM AND METHOD OF USING POOLED THREAD-LOCAL CHARACTER ARRAYS
    4.
    发明申请
    SYSTEM AND METHOD OF USING POOLED THREAD-LOCAL CHARACTER ARRAYS 有权
    使用圆形螺纹局部字符阵列的系统和方法

    公开(公告)号:US20100088675A1

    公开(公告)日:2010-04-08

    申请号:US12246314

    申请日:2008-10-06

    IPC分类号: G06F9/44

    CPC分类号: G06F9/5016

    摘要: In one embodiment the present invention includes a virtual machine environment that performs string operations using borrowed character arrays. A method includes creating a character array area that is related to a thread. The method further includes detecting a string operation which qualifies for using a character array from the thread's character array area. The method further includes borrowing a character array of a character array slot of the character array area. The method further includes performing the string operation using the character array having been borrowed. The method further includes returning the character array to the character array slot when the string operation has been performed. In this manner, the time and memory consumed by string operations may be reduced.

    摘要翻译: 在一个实施例中,本发明包括使用借用字符阵列执行字符串操作的虚拟机环境。 一种方法包括创建与线程相关的字符数组区域。 该方法还包括检测符合从线程的字符数组区域使用字符数组的字符串操作。 该方法还包括借用字符阵列区域的字符阵列槽的字符阵列。 该方法还包括使用已借用的字符数组来执行字符串操作。 该方法还包括当字符串操作被执行时,将字符阵列返回到字符阵列槽。 以这种方式,可以减少字符串操作消耗的时间和内存。

    Sharing classes and class loaders
    5.
    发明授权
    Sharing classes and class loaders 有权
    共享类和类加载器

    公开(公告)号:US07614045B2

    公开(公告)日:2009-11-03

    申请号:US10949936

    申请日:2004-09-24

    IPC分类号: G06F9/44

    CPC分类号: G06F9/544 G06F9/44563

    摘要: Methods and apparatus, including computer systems and program products, for sharing classes and class loaders. One implementation provides a technique for performing a shared load procedure for a class, performing a post load procedure for the class, performing a shared link procedure for the class, performing a post link procedure for the class, and performing an initialization procedure for the class to reduce memory consumption and class loading time. Through performance of these procedures, a first portion of the class (which may include a class block and object) is loaded into a shared memory accessible by multiple runtime systems, and a second portion of the class (which may include a class static variable) as is stored in a local memory associated with a selected runtime system. A shared master copy of the second portion of the class is also stored in the shared memory.

    摘要翻译: 方法和设备,包括计算机系统和程序产品,用于共享类和类装载器。 一个实现提供了一种用于为类执行共享负载过程,对该类执行后加载过程,为该类执行共享链接过程,为该类执行一个后链接过程以及执行该类的初始化过程的技术 以减少内存消耗和类加载时间。 通过执行这些过程,类的第一部分(可以包括类块和对象)被加载到由多个运行时系统可访问的共享存储器中,并且该类的第二部分(其可以包括类静态变量) 如同存储在与所选择的运行时系统相关联的本地存储器中。 该类的第二部分的共享主副本也存储在共享存储器中。

    Shared closures on demand
    6.
    发明申请
    Shared closures on demand 有权
    按需分开关闭

    公开(公告)号:US20080270709A1

    公开(公告)日:2008-10-30

    申请号:US11789925

    申请日:2007-04-26

    IPC分类号: G06F11/07

    摘要: A method and apparatus for copying data from a virtual machine to a shared closure on demand. This process improves system efficiency by avoiding the copying of data in the large number of cases where the same virtual machine is the next to request access and use of the data. Load balancing and failure recovery are supported by copying the data to the shared closure when the data is requested by another virtual machine or recovering the data from the failed virtual machine and storing it in the shared closure before a terminated virtual machine is discarded.

    摘要翻译: 一种用于根据需要从虚拟机复制数据到共享闭包的方法和装置。 该过程通过避免在相同的虚拟机是下一个请求访问和使用数据的大量情况下复制数据来提高系统效率。 当数据被另一个虚拟机请求或从故障虚拟机中恢复数据并将其存储在共享的关闭中之前,在终止的虚拟机被丢弃之前将数据复制到共享关闭中,可以支持负载平衡和故障恢复。

    Process attachable virtual machines
    7.
    发明授权
    Process attachable virtual machines 有权
    处理可附加的虚拟机

    公开(公告)号:US07325233B2

    公开(公告)日:2008-01-29

    申请号:US10290087

    申请日:2002-11-07

    IPC分类号: G06F9/46

    CPC分类号: G06F9/4843

    摘要: Methods and apparatus, including computer program products, for using process attachable virtual machines to provide isolation between user sessions in a scalable manner, enabling a server to robustly process requests corresponding to a large number of user sessions. The methods and apparatus include initializing a process attachable virtual machine for a user session, receiving a request corresponding to the user session, and binding the process attachable virtual machine to an operating system process to process the request.

    摘要翻译: 用于使用过程可附加虚拟机以可扩展方式提供用户会话之间的隔离的方法和装置,包括计算机程序产品,使得服务器可以鲁棒地处理与大量用户会话相对应的请求。 所述方法和装置包括初始化用户会话的过程可附加虚拟机,接收对应于用户会话的请求,以及将该过程可附加虚拟机绑定到操作系统进程来处理该请求。

    Shared closures on demand
    9.
    发明授权
    Shared closures on demand 有权
    按需分开关闭

    公开(公告)号:US08046540B2

    公开(公告)日:2011-10-25

    申请号:US11789925

    申请日:2007-04-26

    摘要: A method and apparatus for copying data from a virtual machine to a shared closure on demand. This process improves system efficiency by avoiding the copying of data in the large number of cases where the same virtual machine is the next to request access and use of the data. Load balancing and failure recovery are supported by copying the data to the shared closure when the data is requested by another virtual machine or recovering the data from the failed virtual machine and storing it in the shared closure before a terminated virtual machine is discarded.

    摘要翻译: 一种用于根据需要从虚拟机复制数据到共享闭包的方法和装置。 该过程通过避免在相同的虚拟机是下一个请求访问和使用数据的大量情况下复制数据来提高系统效率。 当数据被另一个虚拟机请求或从故障虚拟机中恢复数据并将其存储在共享的关闭中之前,在终止的虚拟机被丢弃之前将数据复制到共享关闭中,可以支持负载平衡和故障恢复。

    Sharing classes and class loaders
    10.
    发明申请

    公开(公告)号:US20060070051A1

    公开(公告)日:2006-03-30

    申请号:US10949936

    申请日:2004-09-24

    IPC分类号: G06F9/44

    CPC分类号: G06F9/544 G06F9/44563

    摘要: Methods and apparatus, including computer systems and program products, for sharing classes and class loaders. One implementation provides a technique for performing a shared load procedure for a class, performing a post load procedure for the class, performing a shared link procedure for the class, performing a post link procedure for the class, and performing an initialization procedure for the class to reduce memory consumption and class loading time. Through performance of these procedures, a first portion of the class (which may include a class block and object) is loaded into a shared memory accessible by multiple runtime systems, and a second portion of the class (which may include a class static variable) as is stored in a local memory associated with a selected runtime system. A shared master copy of the second portion of the class is also stored in the shared memory.