首页> 外国专利> Determining whether a Java object has been scan-missed by a garbage collector scan

Determining whether a Java object has been scan-missed by a garbage collector scan

机译:确定垃圾收集器扫描是否已丢失Java对象

摘要

A Java object is scan-missed during the mark phase of a garbage collection cycle. A list of any unscanned objects, comprising all objects of a particular object type, is created during a sweep phase of the garbage collection cycle. After the garbage collection cycle is completed, and the application resumes, for every PUTFIELD/GETFIELD operation on the object type that is part of a specific parent object, a comparison is made with the relevant information in the unscanned objects list. A scan-miss is identified by determining whether the current object being referenced by the application is a part of the unscanned object list that has been created during the sweep phase of the garbage collection cycle.
机译:在垃圾回收周期的标记阶段,Java对象被扫描丢失。在垃圾回收周期的扫描阶段,将创建任何未扫描对象的列表,其中包括特定对象类型的所有对象。在垃圾回收周期完成并且应用程序恢复后,对于作为特定父对象一部分的对象类型的每个PUTFIELD / GETFIELD操作,将与未扫描对象列表中的相关信息进行比较。通过确定应用程序正在引用的当前对象是否是在垃圾回收周期的清除阶段创建的未扫描对象列表的一部分,可以识别出扫描失败。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号