首页> 外文OA文献 >Lock-free atom garbage collection for multithreaded Prolog
【2h】

Lock-free atom garbage collection for multithreaded Prolog

机译:多线程prolog的无锁原子垃圾收集

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

The runtime system of dynamic languages such as Prolog or Lisp and theirderivatives contain a symbol table, in Prolog often called the atom table. Asimple dynamically resizing hash-table used to be an adequate way to implementthis table. As Prolog becomes fashionable for 24x7 server processes we need todeal with atom garbage collection and concurrent access to the atom table.Classical lock-based implementations to ensure consistency of the atom tablescale poorly and a stop-the-world approach to implement atom garbage collectionquickly becomes a bottle-neck, making Prolog unsuitable for soft real-timeapplications. In this article we describe a novel implementation for the atomtable using lock-free techniques where the atom-table remains accessible evenduring atom garbage collection. Relying only on CAS (Compare And Swap) and noton external libraries, the implementation is straightforward and portable. Under consideration for acceptance in TPLP.
机译:Prolog或Lisp等动态语言的运行时系统包含符号表,通常称为原子表。动态调整哈希表的Asimple繁多的哈希表曾经是实现表的充分之路。由于Prolog成为24x7服务器流程时尚,我们需要使用Atom垃圾收集和对原子表的并发访问。基于锁的实现,以确保原子表格较差的一致性以及实现原子垃圾收集Quickly的轨道变化瓶颈,使Prolog无法适合软实时采购。在本文中,我们描述了使用无锁定技术的原子表的新颖实现,其中atom-table仍然可接近的驱动原子垃圾收集。仅依靠CAS(比较和交换)和NOTON外部库,实现是简单和便携的。正在考虑在TPLP中接受。

著录项

  • 作者

    JAN WIELEMAKER; KERI HARRIS;

  • 作者单位
  • 年度 2016
  • 总页数
  • 原文格式 PDF
  • 正文语种
  • 中图分类

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号