首页> 外国专利> 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 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号