Multithreading Atomicity: Static Analysis Checkers

Authors

DOI:

https://doi.org/10.14232/actacyb.311949

Keywords:

java, concurrency, atomic operations, static analysis

Abstract

Ensuring thread safety in applications is crucial for preventing subtle and challenging bugs in concurrent programming. This paper presents two algorithmic approaches to improve thread safety through static analysis and to demonstrate their benefits in real life, the authors also implemented them as two detectors in SpotBugs static analyzer. These checkers are designed to identify unsafe usages of shared resources and improper atomic operations in concurrent Java programming, aiming to mitigate common multithreading issues such as race conditions. By emphasizing consistent locking strategies and the correct use of atomic types, the study offers insight into how to improve the reliability of multithreaded applications.

Downloads

Download data is not yet available.

Downloads

Published

2025-07-15

How to Cite

Süli, P. P., Knoll, J., & Porkoláb, Z. (2025). Multithreading Atomicity: Static Analysis Checkers. Acta Cybernetica, 27(2), 241–261. https://doi.org/10.14232/actacyb.311949

Issue

Section

Special Issue of the 14th Conference of PhD Students in Computer Science

Most read articles by the same author(s)