Thu 8 Nov 2018 10:52 - 11:15 at Studio 1 - Weak Memory and Refactoring Chair(s): Richard Jones

So-called “out-of-thin-air” (OOTA) results are an open problem with many existing programming language memory models including Java, C, and C++. OOTA behaviors are problematic in that they break both formal and informal modular reasoning about program behavior. Defining memory model semantics that are easily understood, allow existing optimizations, and that forbid OOTA results remains an open problem. This paper explores two simple solutions to this problem that forbid OOTA results by restricting compiler optimizations. One solution is targeted towards C/C++-like memory models in which racing operations are explicitly labeled as atomic operations and a second solution is targeted towards Java-like languages in which all memory operations may create OOTA executions. Our solutions provide a per-candidate execution criteria that makes it possible to examine a single execution and determine whether the memory model permits the execution. We implement and evaluated both solutions in the LLVM compiler framework. Our results suggest that OOTA behaviors can be eliminated from language memory models with minimal runtime overhead.

Thu 8 Nov

10:30 - 12:00: OOPSLA - Weak Memory and Refactoring at Studio 1
Chair(s): Richard JonesUniversity of Kent
splash-2018-OOPSLA10:30 - 10:52
Parosh Aziz AbdullaUppsala University, Sweden, Mohamed Faouzi AtigUppsala University, Bengt JonssonUppsala University, Tuan Phong NgoUppsala University
splash-2018-OOPSLA10:52 - 11:15
Peizhao OuUniversity of California, Irvine, Brian DemskyUniversity of California, Irvine
splash-2018-OOPSLA11:15 - 11:37
Azalea RaadMPI-SWS, Germany, Viktor VafeiadisMPI-SWS, Germany
splash-2018-OOPSLA11:37 - 12:00