Safe Exception Handling with Transactional Memory

Research output: Contribution to book/Conference proceedings/Anthology/ReportChapter in book/Anthology/ReportContributedpeer-review

Contributors

Abstract

Exception handling is notoriously difficult for programmers whereas transactional memory has been instrumental in simplifying concurrent programming. In this chapter, we describe how the transactional syntactic sugar simplifies the exception handling problems both when writing sequential and concurrent applications. We survey exception handling solutions to prevent applications from reaching an inconsistent state in a sequential environment on the one hand, and extend these solutions to also prevent concurrent execution of multiple threads from reaching an inconsistent state, on the other hand. The resulting technique greatly simplifies exception handling and is shown surprisingly efficient.

Details

Original languageEnglish
Title of host publicationTransactional Memory. Foundations, Algorithms, Tools, and Applications
EditorsRachid Guerraoui, Paolo Romano
PublisherSpringer International Publishing
Pages245-267
Number of pages23
Volume8913
ISBN (print)978-3-319-14719-2
Publication statusPublished - 2015
Peer-reviewedYes

Publication series

SeriesLecture Notes in Computer Science, Volume 8913
ISSN0302-9743

External IDs

Scopus 84921732058

Keywords

Research priority areas of TU Dresden

DFG Classification of Subject Areas according to Review Boards

Keywords

  • Failure Mode, Concurrent Program, Transactional Memory, Exception Handling, Inconsistent State

Library keywords