Work

Automatic Synchronization Correction

Type: article
Abstract: Multithreaded programs are notoriously prone to synchronization errors. Much prior work has tackled the problem of detecting such errors. This paper focuses on the subsequent problem of synchronization correction. We present a constraint-based analysis that, given an erroneous program, automatically infers (where possible) what additional locking operations should be inserted in order to yield a correctly-synchronized program. For performance reasons, our algorithm also attempts to minimize the number of additional lock acquires and the duration for which the acquired locks are held. We present experimental results that validate this approach on a number of standard Java library classes.
Language: English
Subfield: Software
Open Access status: green
OpenAlex ID: W8873854
Cites: 24
Cited by: 7
Related to: 9