Practical Weak-Atomicity Semantics for Java']Java STM

被引:0
|
作者
Menon, Vijay [1 ]
Balensiefer, Steven [2 ]
Shpeisman, Tatiana [1 ]
Adl-Tabatabai, Ali-Reza [1 ]
Hudson, Richard L. [1 ]
Saha, Bratin [1 ]
Welc, Adam [1 ]
机构
[1] Intel Corp, Programming Syst Lab, Santa Clara, CA 95054 USA
[2] Univ Washington, Dept Comp Sci & Engn, Seattle, WA 98195 USA
关键词
Algorithms; Design; Experimentation; Languages; Measurement; Performance;
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
As memory transactions have been proposed as a language-level replacement for locks, there is growing need for well-defined semantics. In contrast to database transactions, transaction memory (TM) semantics are complicated by the fact that programs may access the same memory locations both inside and outside transactions. Strongly atomic semantics, where non-transactional accesses are treated as implicit single-operation transactions, remain difficult to provide without specialized hardware support or significant performance overhead. As an alternative, many in the community have informally proposed that a single global lock semantics [18, 10], where transaction semantics are mapped to those of regions protected by a single global lock, provide an intuitive and efficiently implementable model for programmers. In this paper, we explore the implementation and performance implications of single global lock semantics in a weakly atomic STM from the perspective of Java, and we discuss why even recent STM implementations fall short of these semantics. We describe a new weakly atomic Java STM implementation that provides single global lock semantics while permitting concurrent execution, but we show that this comes at a significant performance cost. We also propose and implement various alternative semantics that loosen single lock requirements while still providing strong guarantees. We compare our new implementations to previous ones, including a strongly atomic STM. [24]
引用
收藏
页码:314 / +
页数:2
相关论文
共 50 条
  • [41] Semantics and Analyses for Java']JavaScript and the Web
    Krishnamurthi, Shriram
    STATIC ANALYSIS, SAS 2012, 2012, 7460 : 4 - 4
  • [42] Formal Semantics of Java Expressions and Statements
    A. V. Zamulin
    Programming and Computer Software, 2003, 29 : 259 - 270
  • [43] A practical MHP information analysis for concurrent Java']Java programs
    Li, L
    Verbrugge, C
    LANGUAGES AND COMPILERS FOR HIGH PERFORMANCE COMPUTING, 2005, 3602 : 194 - 208
  • [44] Automatic validation of transformation rules for Java']Java verification against a rewriting semantics
    Ahrendt, W
    Roth, A
    Sasse, R
    LOGIC FOR PROGRAMMING, ARTIFICIAL INTELLIGENCE, AND REASONING, PROCEEDINGS, 2005, 3835 : 412 - 426
  • [45] Real-Time Java']Java scoped memory: Design patterns and semantics
    Pizlo, F
    Fox, JM
    Holmes, D
    Vitek, J
    SEVENTH IEEE INTERNATIONAL SYMPOSIUM ON OBJECT-ORIENTED REAL-TIME DISTRIBUTED COMPUTING, PROCEEDINGS, 2004, : 101 - 110
  • [46] Semantics-driven extraction of timed automata from Java']Java programs
    Liva, Giovanni
    Khan, Muhammad Taimoor
    Pinzger, Martin
    EMPIRICAL SOFTWARE ENGINEERING, 2019, 24 (05) : 3114 - 3150
  • [47] Combining weak and strong mutation for a noninterpretive Java']Java mutation system
    Kim, Sang-Woon
    Ma, Yu-Seung
    Kwon, Yong-Rae
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2013, 23 (08): : 647 - 668
  • [48] NULLAWAY: Practical Type-Based Null Safety for Java']Java
    Banerjee, Subarno
    Clapp, Lazaro
    Sridharan, Manu
    ESEC/FSE'2019: PROCEEDINGS OF THE 2019 27TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, 2019, : 740 - 750
  • [49] JFIX: Semantics-Based Repair of Java']Java Programs via Symbolic PathFinder
    Le, Xuan-Bach D.
    Duc-Hiep Chu
    Lo, David
    Le Goues, Claire
    Visser, Willem
    PROCEEDINGS OF THE 26TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS (ISSTA'17), 2017, : 376 - 379
  • [50] Java']Java+ITP: A Verification Tool Based on Hoare Logic and Algebraic Semantics
    Sasse, Ralf
    Meseguer, Jose
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2007, 176 (04) : 29 - 46