Cooperative memory resource management via application-level balloon
    1.
    发明授权
    Cooperative memory resource management via application-level balloon 有权
    通过应用级气球协同内存资源管理

    公开(公告)号:US09529611B2

    公开(公告)日:2016-12-27

    申请号:US14581840

    申请日:2014-12-23

    Applicant: VMware, Inc.

    Abstract: Methods, systems, and computer programs for managing memory in a host where virtual machines (VMs) execute are presented. In one example, a method includes an operation for determining which amount of heap memory has been reserved in a Java virtual machine (JVM) that is in excess of the heap memory needed by the JVM. If there is excess heap memory, a Java balloon agent reserves a Java object in the heap memory. Typically, the Java object will be the size of one or more memory pages in the host. Further, the Java balloon agent loads the Java object with a certain value, for example, by zeroing out the page of memory. When a virtual machine monitor (VMM) in the host detects that a machine physical memory page associated with the Java object has the first value, then the VMM frees the machine physical memory page to make the memory available to other VMs or to other processes executing in the host.

    Abstract translation: 呈现虚拟机(VM)执行的主机中的内存的方法,系统和计算机程序。 在一个示例中,方法包括用于确定在Java虚拟机(JVM)中已经保留了超过JVM所需的堆内存的堆内存量的操作。 如果存在多余的堆内存,Java气球代理将在堆内存中保留一个Java对象。 通常,Java对象将是主机中一个或多个内存页面的大小。 此外,Java气球代理程序将Java对象加载到某个值,例如通过清空内存页面。 当主机中的虚拟机监视器(VMM)检测到与Java对象相关联的机器物理内存页面具有第一个值时,VMM将释放机器物理内存页面,使内存可用于其他VM或执行其他进程 在主机。

Patent Agency Ranking