Context-oriented Software Transactional Memory in Common Lisp

被引:0
|
作者
Costanza, Pascal [1 ]
Herzeel, Charlotte [1 ]
D'Hondt, Theo [1 ]
机构
[1] Vrije Univ Brussel, Software Languages Lab, B-1050 Brussels, Belgium
基金
比利时弗兰德研究基金会;
关键词
Design; Languages; Software transactional memory; framework design; context-oriented programming;
D O I
10.1145/1837513.1640144
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Software transactional memory (STM) is a promising approach for coordinating concurrent threads, for which many implementation strategies are currently being researched. Although some first steps exist to ease experimenting with different strategies, this still remains a relatively complex and cumbersome task. The reason is that software transactions require STM-specific dynamic crosscutting adaptations, but this is not accounted for in current STM implementations. This paper presents CSTM, an STM framework based on Context-oriented Prorgamming, in which transactions are modelled as dynamically scoped layer activations. It enables expressing transactional variable accesses as user-defined crosscutting concerns, without requiring invasive changes in the rest of a program. This paper presents a proof-of-concept implementation based on ContextL for Common Lisp, along with example STM strategies and preliminary benchmarks, and introduces some of ContextL's unique features for context-dependent variable accesses.
引用
收藏
页码:59 / 68
页数:10
相关论文
共 50 条
  • [1] Context-oriented programming: A software engineering perspective
    Salvaneschi, Guido
    Ghezzi, Carlo
    Pradella, Matteo
    JOURNAL OF SYSTEMS AND SOFTWARE, 2012, 85 (08) : 1801 - 1817
  • [2] A context-oriented framework for software testing in pervasive environment
    Lu, Heng
    29TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: ICSE 2007 COMPANION VOLUME, PROCEEDINGS, 2007, : 77 - 78
  • [3] Context-oriented Programming
    Hirschfeld, Robert
    Costanza, Pascal
    Nierstrasz, Oscar
    JOURNAL OF OBJECT TECHNOLOGY, 2008, 7 (03): : 125 - 151
  • [4] Event-Specific Software Composition in Context-Oriented Programming
    Appeltauer, Malte
    Hirschfeld, Robert
    Masuhara, Hidehiko
    Haupt, Michael
    Kawauchi, Kazunori
    SOFTWARE COMPOSITION, PROCEEDINGS, 2010, 6144 : 50 - +
  • [5] Context-Oriented Programming for Adaptive Wireless Sensor Network Software
    Afanasov, Mikhail
    Mottola, Luca
    Ghezzi, Carlo
    2014 IEEE INTERNATIONAL CONFERENCE ON DISTRIBUTED COMPUTING IN SENSOR SYSTEMS (IEEE DCOSS 2014), 2014, : 233 - 240
  • [6] Context-Oriented Behavioral Programming
    Elyasaf, Achiya
    Information and Software Technology, 2021, 133
  • [7] Context-oriented domain analysis
    Desmet, Brecht
    Vallejos, Jorge
    Costanza, Pascal
    De Meuter, Wolfgang
    D'Hondt, Theo
    MODELING AND USING CONTEXT, 2007, 4635 : 178 - +
  • [8] Context-oriented image retrieval
    O'Sullivan, D
    McLoughlin, E
    Bertolotto, M
    Wilson, D
    MODELING AND USING CONTEXT, PROCEEDINGS, 2005, 3554 : 339 - 352
  • [9] Context-Oriented Behavioral Programming
    Elyasaf, Achiya
    INFORMATION AND SOFTWARE TECHNOLOGY, 2021, 133
  • [10] An Introduction to Context-Oriented Programming with ContextS
    Hirschfeld, Robert
    Costanza, Pascal
    Haupt, Michael
    GENERATIVE AND TRANSFORMATIONAL TECHNIQUES IN SOFTWARE ENGINEERING II, 2008, 5235 : 396 - +