首页>
外国专利>
SYSTEM AND METHOD TO MANAGE AND SHARE MANAGED RUNTIME MEMORY FOR JAVA VIRTUAL MACHINE
SYSTEM AND METHOD TO MANAGE AND SHARE MANAGED RUNTIME MEMORY FOR JAVA VIRTUAL MACHINE
展开▼
机译:Java虚拟机管理和共享管理的运行时内存的系统和方法
展开▼
页面导航
摘要
著录项
相似文献
摘要
A method and system for self-regulating memory of a JAVA virtual machine optimizes memory use by the JVM and by an operating system. A computer running a garbage collector extension monitors and records free committed memory of the JVM at predetermined intervals over time to define a historical record. The computer calculates an average allocation of the free committed memory in the historical record over predetermined intervals. An allocation rate is determined, wherein the allocation rate is based on the average allocation over the predetermined intervals. The computer calculates an estimated time to exhaust committed memory based on free committed heap memory and the allocation rate. Memory is recovered from the operating system if the time to exhaust committed memory is below a first predetermined threshold value and is released to the operating system when said time to exhaust committed memory is above a second predetermined threshold value.
展开▼