首页> 外国专利> Copying and forwarding for concurrent copying garbage collection

Copying and forwarding for concurrent copying garbage collection

机译:复制和转发并发复制垃圾收集

摘要

An approach for optimizing a copying of a data object in a concurrent copying garbage collection operation is provided. In an embodiment, a source copy of the data object to be copied as part of the garbage collection operation is identified. A copying of the source copy to a target location is initiated by a primary accessing thread. This initiating of the copying includes the creation of a temporary target object header for the target object in the target location that contains an indicator set to indicate that the copying is ongoing. As the copying is occurring, the execution of any other accessing threads that are attempting to use the data object are held for as long as the indicator indicates that the copying is ongoing. Once the copying has completed, the target object header is replaced with a copy of the source object header, resetting the indicator.
机译:提供了一种用于优化在并发复制垃圾收集操作中的数据对象的复制的方法。在一个实施例中,识别作为垃圾收集操作的一部分要复制的数据对象的源副本。将源副本复制到目标位置由主访问线程启动。该复制的此启动包括创建目标位置中的目标对象的临时目标对象标题,该目标对象包含指示器集的指示器,以指示复制正在进行。由于正在发生复制,因此执行尝试使用数据对象的任何其他访问线程的执行,只要指示器指示正在进行复制。复制完成后,目标对象标题将替换为源对象标题的副本,重置指示符。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号