Orca: GC and type system co-design for actor languages

Author:

Clebsch Sylvan1,Franco Juliana2,Drossopoulou Sophia2,Yang Albert Mingkun3,Wrigstad Tobias3,Vitek Jan4

Affiliation:

1. Microsoft Research, UK

2. Imperial College London, UK

3. Uppsala University, Sweden

4. Northeastern University, USA

Abstract

ORCA is a concurrent and parallel garbage collector for actor programs, which does not require any STW steps, or synchronization mechanisms, and that has been designed to support zero-copy message passing and sharing of mutable data. ORCA is part of a runtime for actor-based languages, which was co-designed with the Pony programming language, and in particular, with its data race free type system. By co-designing an actor language with its runtime, it was possible to exploit certain language properties in order to optimize performance of garbage collection. Namely, ORCA relies on the guarantees of absence of race conditions in order to avoid read/write barriers, and it leverages the actor message passing, for synchronization among actors. In this paper we briefly describe Pony and its type system. We use pseudo-code in order to introduce how ORCA allocates and deallocates objects, how it shares mutable data without requiring barriers upon data mutation, and how can immutability be used to further optimize garbage collection. Moreover, we discuss the advantages of co-designing an actor language with its runtime, and we demonstrate that ORCA can be implemented in a performant and scalable way through a set of micro-benchmarks, including a comparison with other well-known collectors.

Funder

NSF

Swedish Research Council

FP7-ICT

Svenska Forskningsrådet Formas

EPSRC

Horizon 2020

ONR

Publisher

Association for Computing Machinery (ACM)

Subject

Safety, Risk, Reliability and Quality,Software

Reference38 articles.

1. ActorFoundry 2017. http://osl.cs.illinois.edu/software/actor-foundry/ . (Retrieved July 2017). ActorFoundry 2017. http://osl.cs.illinois.edu/software/actor-foundry/ . (Retrieved July 2017).

2. Gul Agha. 1986. Actors: a Model of Concurrent Computation in Distributed Systems. MIT Press 11 12 (1986). Gul Agha. 1986. Actors: a Model of Concurrent Computation in Distributed Systems. MIT Press 11 12 (1986).

3. Akka 2017. Akka – Scala actor library. http://akka.io . (Retrieved July 2017). Akka 2017. Akka – Scala actor library. http://akka.io . (Retrieved July 2017).

4. Joe Armstrong. 2007. A History of Erlang. In History of Programming Languages (HOPL) III. DOI: 10.1145/1238844.1238850 10.1145/1238844.1238850

5. Joe Armstrong. 2007. A History of Erlang. In History of Programming Languages (HOPL) III. DOI: 10.1145/1238844.1238850

Cited by 12 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Oxidizing OCaml with Modal Memory Management;Proceedings of the ACM on Programming Languages;2024-08-15

2. Encore: Coda;Lecture Notes in Computer Science;2024

3. High-performance Deterministic Concurrency Using Lingua Franca;ACM Transactions on Architecture and Code Optimization;2023-10-26

4. Reference Capabilities for Flexible Memory Management;Proceedings of the ACM on Programming Languages;2023-10-16

5. A Fine-grained Asynchronous Bulk Synchronous parallelism model for PGAS applications;Journal of Computational Science;2023-05

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3