Invention Grant
- Patent Title: Cooperative memory resource management via application-level balloon
- Patent Title (中): 通过应用级气球协同内存资源管理
-
Application No.: US12826389Application Date: 2010-06-29
-
Publication No.: US08949295B2Publication Date: 2015-02-03
- Inventor: Richard McDougall , Wei Huang , Ben Corrie
- Applicant: Richard McDougall , Wei Huang , Ben Corrie
- Applicant Address: US CA Palo Alto
- Assignee: VMware, Inc.
- Current Assignee: VMware, Inc.
- Current Assignee Address: US CA Palo Alto
- Main IPC: G06F7/00
- IPC: G06F7/00 ; G06F17/30 ; G06F9/455 ; G06F12/02 ; G06F12/10

Abstract:
Methods, systems, and computer programs for managing memory in a host where virtual machines (VMs) execute are presented. In one embodiment, 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.
Public/Granted literature
- US20110320682A1 COOPERATIVE MEMORY RESOURCE MANAGEMENT VIA APPLICATION-LEVEL BALLOON Public/Granted day:2011-12-29
Information query