Consistency Checking for Refactoring from Coarse-grained locks to Fine-grained locks

Publication typeJournal Article
Publication date2024-06-05
scimago Q3
wos Q4
SJR0.206
CiteScore1.8
Impact factor0.6
ISSN02181940, 17936403
Computer Graphics and Computer-Aided Design
Computer Networks and Communications
Artificial Intelligence
Software
Abstract

Refactoring for locks is widely used to improve the scalability and performance of concurrent programs. However, when refactoring from coarse-grained locks to fine-grained locks, the behavior of concurrent programs may be changed. To this end, we present LockCheck, a consistency-checking approach based on the parallel extended finite automaton for fine-grained locks. First, we model the critical sections of concurrent programs through control flow analysis and dependency analysis. Second, we sequentialize the concurrent programs to get all the possible transition paths. Furthermore, it reduces the exploration of the redundant paths using partial order theory to obtain the compared transition paths. Finally, we combine consistency rules to check the consistency of the program before and after refactoring. We evaluated LockCheck in five open-source projects. A total of 1528 refactoring operations have been evaluated and 93 inconsistent refactoring operations have been detected. The results show that LockCheck can effectively detect inconsistent behavior when coarse-grained locks are refactored into fine-grained locks.

Found 
Found 

Top-30

Journals

1
Concurrency Computation Practice and Experience
1 publication, 100%
1

Publishers

1
Wiley
1 publication, 100%
1
  • We do not take into account publications without a DOI.
  • Statistics recalculated weekly.

Are you a researcher?

Create a profile to get free access to personal recommendations for colleagues and new articles.
Metrics
1
Share
Cite this
GOST |
Cite this
GOST Copy
Zhang Y. et al. Consistency Checking for Refactoring from Coarse-grained locks to Fine-grained locks // International Journal of Software Engineering and Knowledge Engineering. 2024. Vol. 34. No. 07. pp. 1063-1093.
GOST all authors (up to 50) Copy
Zhang Y., Liu J., Qi L., Meredith G. Consistency Checking for Refactoring from Coarse-grained locks to Fine-grained locks // International Journal of Software Engineering and Knowledge Engineering. 2024. Vol. 34. No. 07. pp. 1063-1093.
RIS |
Cite this
RIS Copy
TY - JOUR
DO - 10.1142/s0218194024500141
UR - https://www.worldscientific.com/doi/10.1142/S0218194024500141
TI - Consistency Checking for Refactoring from Coarse-grained locks to Fine-grained locks
T2 - International Journal of Software Engineering and Knowledge Engineering
AU - Zhang, Yang
AU - Liu, Jingjing
AU - Qi, Lin
AU - Meredith, Grant
PY - 2024
DA - 2024/06/05
PB - World Scientific
SP - 1063-1093
IS - 07
VL - 34
SN - 0218-1940
SN - 1793-6403
ER -
BibTex |
Cite this
BibTex (up to 50 authors) Copy
@article{2024_Zhang,
author = {Yang Zhang and Jingjing Liu and Lin Qi and Grant Meredith},
title = {Consistency Checking for Refactoring from Coarse-grained locks to Fine-grained locks},
journal = {International Journal of Software Engineering and Knowledge Engineering},
year = {2024},
volume = {34},
publisher = {World Scientific},
month = {jun},
url = {https://www.worldscientific.com/doi/10.1142/S0218194024500141},
number = {07},
pages = {1063--1093},
doi = {10.1142/s0218194024500141}
}
MLA
Cite this
MLA Copy
Zhang, Yang, et al. “Consistency Checking for Refactoring from Coarse-grained locks to Fine-grained locks.” International Journal of Software Engineering and Knowledge Engineering, vol. 34, no. 07, Jun. 2024, pp. 1063-1093. https://www.worldscientific.com/doi/10.1142/S0218194024500141.