Identifying A Unifying Mechanism for the Implementation of Concurrency Abstractions on Multi-Language Virtual Machines

Stefan Marr, Theo D'Hondt

Research output: Chapter in Book/Report/Conference proceedingConference paperResearch

6 Citations (Scopus)

Abstract

Supporting all known abstractions for concurrent and parallel programming in a virtual machines VM is a futile undertaking, but it is required to give programmers appropriate tools and performance. Instead of supporting all abstractions directly, VMs need a unifying mechanism similar to INVOKEDYNAMIC for JVMs. Our survey of parallel and concurrent programming concepts identifies concurrency abstractions as the ones benefiting most from support in a VM. Currently, their semantics is often weakened, reducing their engineering benefits. They require a mechanism to define flexible language guarantees. Based on this survey, we define an ownership-based meta-object protocol as candidate for VM support. We demonstrate its expressiveness by implementing actor semantics, software transactional memory, agents, CSP, and active objects. While the performance of our prototype confirms the need for VM support, it also shows that the chosen mechanism is appropriate to express a wide range of concurrency abstractions in a unified way.
Original languageEnglish
Title of host publicationObjects, Models, Components, Patterns, 50th International Conference, TOOLS 2012
PublisherSpringer
Pages171-186
Number of pages16
ISBN (Print)978-3-642-30560-3
Publication statusPublished - 29 May 2012

Publication series

NameLecture Notes in Computer Science

Keywords

  • Virtual Machines
  • Language Support
  • Abstraction
  • Parallelism
  • Concurrency

Fingerprint

Dive into the research topics of 'Identifying A Unifying Mechanism for the Implementation of Concurrency Abstractions on Multi-Language Virtual Machines'. Together they form a unique fingerprint.

Cite this