首页> 外国专利> 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.
机译:用于自我调节JAVA虚拟机的存储器的方法和系统优化了JVM和操作系统的存储器使用。运行垃圾收集器扩展的计算机会在一段时间内以预定的时间间隔监视并记录JVM的空闲提交内存,以定义历史记录。计算机计算预定时间间隔内历史记录中空闲内存的平均分配。确定分配速率,其中,分配速率基于预定间隔内的平均分配。计算机根据可用的已提交的堆内存和分配率来计算耗尽已提交的内存的估计时间。如果用尽承诺存储器的时间低于第一预定阈值,则从操作系统中恢复存储器,并且当所述用尽承诺存储器的时间高于第二预定阈值时,将其释放给操作系统。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号