首页> 外国专利> COPY AND FORWARD FOR A SIMULTANEOUSLY COPYING GARBAGE COLLECTION

COPY AND FORWARD FOR A SIMULTANEOUSLY COPYING GARBAGE COLLECTION

机译:同时复制垃圾集合的复制和转发

摘要

A procedure is provided to optimize copying of a data object in a concurrent copying garbage collection operation. In one embodiment, a source copy of the data object that is to be copied as part of the garbage collection operation is recognized. Copying of the source copy to a target location is initiated by a primary accessing thread. This initiation of copying involves creating a temporary target header for the target at the target location that includes an indicator set to indicate that copying is in progress. While copying is taking place, any other accessing thread attempting to use the data object is stopped as long as the indicator indicates that copying is in progress. Once the copying is complete, the target object header is replaced with a copy of the source object header and the indicator is reset.
机译:提供了一种在并发复制垃圾回收操作中优化数据对象复制的过程。在一个实施例中,识别出将作为垃圾收集操作的一部分被复制的数据对象的源副本。将源副本复制到目标位置是由主访问线程启动的。复制的这种启动涉及在目标位置为目标创建一个临时目标标头,该标头包括一个指示符,用于指示复制正在进行中。在进行复制时,只要指示器指示正在进行复制,任何其他尝试使用数据对象的访问线程都将停止。复制完成后,将目标对象标头替换为源对象标头的副本,并重置指示器。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号