发明名称 Hibernate mechanism for virtualized java virtual machines
摘要 Methods, systems, and computer programs manage memory of a runtime environment executing on a virtual machine. A controller acts as an intermediary layer between the runtime environment and outside clients. The runtime environment coordinates with the controller to “hibernate” during idle periods to more efficiently utilize memory, and to quickly “refresh” state upon receiving an access attempt. A hypervisor may perform memory page compression on one or more guest “physical” memory pages utilized by an idle runtime environment. While hibernating, the runtime environment may use a listener thread to monitor for refresh requests and awaken the runtime environment when needed.
申请公布号 US9183015(B2) 申请公布日期 2015.11.10
申请号 US201213720874 申请日期 2012.12.19
申请人 VMware, Inc. 发明人 Corrie Benjamin J.
分类号 G06F9/455;G06F9/50 主分类号 G06F9/455
代理机构 代理人
主权项 1. A method for managing memory of a runtime environment executing in a virtual machine, the method comprising: receiving an indication of an idle state of a runtime environment executing in a virtual machine; suspending operation of a plurality of threads associated with the runtime environment, wherein the plurality of threads is configured to run program code within the runtime environment; determining a plurality of memory pages associated with the runtime environment based on the indication of the idle state; transmitting, to a virtualization layer, a request to page out and compress the plurality of memory pages into a compression cache; and executing a listener thread configured to monitor for a refresh request for the runtime environment.
地址 Palo Alto CA US