Framework support for the efficient implementation of multi-version algorithms

Ricardo J. Dias, Tiago M. Vale, João M. Lourenço

Research output: Contribution to journalArticle

Abstract

Software Transactional Memory algorithms associate metadata with the memory locations accessed during a transaction’s lifetime. This metadata may be stored in an external table and accessed by way of a function that maps the address of each memory location with the table entry that keeps its metadata (this is the out-place or external scheme); or alternatively may be stored adjacent to the associated memory cell by wrapping them together (the in-place scheme). In transactional memory multi-version algorithms, several versions of the same memory location may exist. The efficient implementation of these algorithms requires a one-to-one correspondence between each memory location and its list of past versions, which is stored as metadata. In this chapter we address the matter of the efficient implementation of multi-version algorithms in Java by proposing and evaluating a novel in-place metadata scheme for the Deuce framework. This new scheme is based in Java Bytecode transformation techniques and its use requires no changes to the application code. Experimentation indicates that multi-versioning STM algorithms implemented using our new in-place scheme are in average 6× faster than when implemented with the out-place scheme.

Original languageEnglish
Pages (from-to)166-191
Number of pages26
JournalLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume8913
Publication statusPublished - 2015

Keywords

  • Java programming language
  • Metadata
  • Storage allocation (computer)

Fingerprint Dive into the research topics of 'Framework support for the efficient implementation of multi-version algorithms'. Together they form a unique fingerprint.

Cite this