ICSE 2024
Fri 12 - Sun 21 April 2024 Lisbon, Portugal
Fri 19 Apr 2024 15:07 - 15:14 at Glicínia Quartin - Evolution 5 Chair(s): Martin Pinzger

Memory persistency models provide the foundational rules for software engineers to develop applications that take advantage of non-volatile memory (NVM), dictating which (and when) writes to NVM are deemed persistent. Though formalised for Intel-x86 and Arm architectures, these models remain empirically unvalidated on actual machines. Conventional validation methods for memory \emph{consistency} models fall short as test programs cannot differentiate between volatile cache reads and those from NVM.
To address this, we employed a commercial device to intercept and log data on the memory bus in their order of arrival. Through this, we conducted a campaign using \emph{litmus tests}—small programs designed to assess specific memory persistency behaviours—aimed at empirically validating Intel-x86 and Arm machine persistency guarantees.

We noted out-of-order memory writes and ensured they were not merely artifacts of our test setup. Analysis revealed Intel-x86’s architecture \emph{cannot} be validated via memory bus interception due to legitimate early subsystem reordering. Intel engineers confirmed the absence of dependable validation methods for their persistency claims. Meanwhile, an expert-backed Arm machine didn’t align with the formal persistency model due to a specification lapse, and further investigation suggests that no market-available Arm machine fully supports NVM.

Our negative result for Intel highlights a major concern for software developers wishing to take advantage of NVM: currently there is, to our knowledge, \emph{no viable way} to confirm the persistency guarantees claimed by Intel. Our results for Arm suggest that our interception-based approach is viable for reliably detecting reorderings in the memory subsystem, which will be valuable for empirical validation once NVM-supporting machines become available.

Fri 19 Apr

Displayed time zone: Lisbon change

14:00 - 15:30
14:00
15m
Talk
Semantic GUI Scene Learning and Video Alignment for Detecting Duplicate Video-based Bug Reports
Research Track
Yanfu Yan William & Mary, Nathan Cooper William & Mary, Oscar Chaparro William & Mary, Kevin Moran University of Central Florida, Denys Poshyvanyk William & Mary
14:15
15m
Talk
The Classics Never Go Out of Style: An Empirical Study of Downgrades from the Bazel Build Technology
Research Track
Mahmoud Alfadel University of Waterloo, Shane McIntosh University of Waterloo
Pre-print
14:30
15m
Talk
Scaling Code Pattern Inference with Interactive What-If Analysis
Research Track
Hong Jin Kang UCLA, Kevin Wang UCLA, Miryung Kim UCLA and Amazon Web Services
14:45
15m
Talk
Context-Aware Name Recommendation for Field Renaming
Research Track
Chunhao Dong Beijing Institute of Technology, Yanjie Jiang Peking University, Nan Niu University of Cincinnati, Yuxia Zhang Beijing Institute of Technology, Hui Liu Beijing Institute of Technology
15:00
7m
Talk
"Don’t Touch my Model!" Towards Managing Model History and Versions during Metamodel Evolution
New Ideas and Emerging Results
Marcel Homolka Institute for Software Systems Engineering, Johannes Kepler University, Linz, Luciano Marchezan Johannes Kepler University Linz, Wesley Assunção North Carolina State University, Alexander Egyed Johannes Kepler University Linz
Pre-print
15:07
7m
Talk
Challenges in Empirically Testing Memory Persistency Models
New Ideas and Emerging Results
Vasileios Klimis Queen Mary University of London, Alastair F. Donaldson Imperial College London, Viktor Vafeiadis MPI-SWS, John Wickerson Imperial College London, Azalea Raad Imperial College London
15:14
7m
Talk
AntiCopyPaster 2.0: Whitebox just-in-time code duplicates extraction
Demonstrations
Eman Abdullah AlOmar Stevens Institute of Technology, Benjamin Knobloch Stevens Institute of Technology, Thomas Kain Stevens Institute of Technology, Christopher Kalish Stevens Institute of Technology, Mohamed Wiem Mkaouer University of Michigan - Flint, Ali Ouni ETS Montreal, University of Quebec