首页> 外国专利> Efficiently using memory for Java collection objects

Efficiently using memory for Java collection objects

机译:高效地将内存用于Java集合对象

摘要

A method for collection instance resizing. The method may include identifying at least one collection object within a collection framework of a virtual machine. The method may also include determining the at least one identified collection object satisfies at least one preconfigured criteria. The method may further include determining a garbage collection cycle count associated with the at least one identified collection object exceeds a preconfigured threshold. The method may also include determining an occupancy ratio associated with the at least one identified collection object is less than a preconfigured shrink threshold. The method may further include restructuring the at least one identified collection object based on the at least one identified collection object satisfying the at least one preconfigured criteria, the garbage collection cycle count exceeding the preconfigured threshold, and the occupancy ratio being less than the preconfigured shrink threshold.
机译:用于调整集合实例大小的方法。该方法可以包括识别虚拟机的收集框架内的至少一个收集对象。该方法还可以包括确定至少一个识别出的收集对象满足至少一个预先配置的标准。该方法可以进一步包括确定与至少一个识别的收集对象相关联的垃圾收集循环计数超过预先配置的阈值。该方法还可以包括确定与至少一个识别的收集对象相关联的占用率小于预先配置的收缩阈值。该方法还可以包括:基于至少一个识别的收集对象满足至少一个预先配置的标准,对至少一个识别的收集对象进行重构,垃圾收集周期计数超过预先配置的阈值,并且占用率小于预先配置的收缩。阈。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号