Concurrent programs may suffer from concurrency anomalies that may lead to
erroneous and unpredictable program behaviors. To ensure program correctness,
these anomalies must be diagnosed and corrected. This paper addresses the
detection of both low- and high-level anomalies in the Transactional Memory
setting. We propose a static analysis procedure and a framework to address
Transactional Memory anomalies. We start by dealing with the classic case of
low-level dataraces, identifying concurrent accesses to shared memory cells
that are not protected within the scope of a memory transaction. Then, we
address the case of high-level dataraces, bringing the programmer?s attention
to pairs of memory transactions that were misspecified and should have been
combined into a single transaction. Our framework was applied to a set of
programs, collected form different sources, containing well known low- and
high-level anomalies. The framework demonstrated to be accurate, confirming
the effectiveness of using static analysis techniques to precisely identify
concurrency anomalies in Transactional Memory programs.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.