arrow
Return

Aspect-Oriented Race Detection in Java

delete2010-07-01
delete18
delete
OA
AI
Eric Bodden cover
Eric Bodden (Eric Bodden) *
K
Klaus Havelund
DOI:10.1109/TSE.2010.25delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
In the past, researchers have developed specialized programs to aid programmers in detecting concurrent programming errors such as deadlocks, livelocks, starvation, and data races. In this work, we propose a language extension to the aspect-oriented programming language AspectJ, in the form of three new pointcuts, lock(), unlock(), and maybeShared(). These pointcuts allow programmers to monitor program events where locks are granted or handed back, and where values are accessed that may be shared among multiple Java threads. We decide thread locality using a static thread-local-objects analysis developed by others. Using the three new primitive pointcuts, researchers can directly implement efficient monitoring algorithms to detect concurrent-programming errors online. As an example, we describe a new algorithm which we call RACER, an adaption of the well-known ERASER algorithm to the memory model of Java. We implemented the new pointcuts as an extension to the AspectBench Compiler, implemented the RACER algorithm using this language extension, and then applied the algorithm to the NASA K9 Rover Executive and two smaller programs. Our experiments demonstrate that our implementation is effective in finding subtle data races. In the Rover Executive, RACER finds 12 data races, with no false warnings. Only one of these races was previously known.
Keywords:
Race detection
runtime verification
aspect-oriented programming
semantic pointcuts
static analysis
Efficient runtime aspect weaving for Java applications
err2018-08-01
err1
errOAAI
errRodriguez-Prieto, Oscar; Ortin, Francisco; O'Shea, Donna
errShare
errSave
Stability assessment of aspect-oriented software architectures: A quantitative study
err2010-05-01
err12
PREAI
errMolesini, Ambra; Garcia, Alessandro; Garcia Chavez, Christina von Flach; Batista, Thais Vasconcelos
errShare
errSave
Aspectizing Java Access Control
err2012-01-01
err6
PREAI
errToledo, Rodolfo; Nunez, Angel; Tanter, Eric; Noye, Jacques
errShare
errSave
An Aspect-Oriented Programming-based approach to software development for fault detection in measurement systems
err2010-03-01
err7
PREAI
errArpaia, Pasquale; Bernardi, Mario Luca; Di Lucca, Giuseppe; Inglese, Vitaliano; Spiezia, Giovanni
errShare
errSave
Object-oriented transformations for extracting aspects
err2009-01-01
err7
errOAAI
errMalta, Marcelo Nassau; de Oliveira Valente, Marco Tullo
errShare
errSave
Modular Aspect-Oriented Design with XPIs
err2010-09-08
err13
errOAAI
errSullivan, Kevin; Griswold, William G.; Rajan, Hridesh; Song, Yuanyuan; Cai, Yuanfang; Shonle, Macneil; Tewari, Nishit
errShare
errSave

Journal

IEEE Transactions on Software Engineering cover
IEEE Transactions on Software Engineering
IF:
5.6
Papers:
3.0K
Citations:
1.3W

Organization

N
national aeronautics & space administration (nasa)
Scholars:
3.1W
Papers: 2.6W
Citations: 3.7W
T
Technical University of Darmstadt
Scholars:
367
Papers: 132
Citations: 6.6K
Cited Papers

Cited Papers

errShare
errSave
Engineering geology of the tropical volcanic soils of La Laguna, Tenerife
err1981-03-01
err0
PREAI
errL.I. Gonzalez De Vallejo; J.A. Jimenez Salas; S. Legy Jimenez
errShare
errSave
errShare
errSave
Characterization, In Vitro Culture, and Molecular Analysis of Thecaphora solani, the Causal Agent of Potato Smut
err2004-08-01
err0
PREAI
errOrlando Andrade; Gastón Muñoz; Rafael Galdames; Paola Durán; Rodrigo Honorato
errShare
errSave
Scalp Current Density Mapping in the Analysis of Mismatch Negativity Paradigms
err2013-10-29
err0
PREAI
errMarie-Hélène Giard; Julien Besle; Pierre-Emmanuel Aguera; Marie Gomot; Olivier Bertrand
errShare
errSave
Regional serotonin terminal density in aging human brain: A [11C]DASB PET study
err2023-01-01
err0
errOAAI
errPrabesh Kanel; Robert A. Koeppe; Vikas Kotagal; Stiven Roytman; Martijn L.T.M. Muller; Nicolaas I. Bohnen; Roger L. Albin
errShare
errSave
Interfaces within graphene nanoribbons
err2009-09-30
err0
errOAAI
errJ Wurm; M Wimmer; İ Adagideli; K Richter; H U Baranger
errShare
errSave
researcher View more