Understanding and generating high quality patches for concurrency bugs

Abstract
Concurrency bugs are time-consuming to fix correctly by developers and a severe threat to software reliability. Although many auto-fixing techniques have been proposed recently for concurrency bugs, there is still a big gap between the quality of automatically generated patches and manually designed ones. This paper first conducts an in-depth study of manual patches for 77 real-world concurrency bugs, which provides both assessments for existing techniques and actionable suggestions for future research. Guided by this study, a new tool HFix is designed. It can automatically generate patches, which have matching quality as manual patches, for many concurrency bugs.
Funding Information
  • Huawei Technologies
  • Division of Information and Intelligent Systems (1546543)
  • Division of Computing and Communication Foundations (1217582, 1439091, 1514189)
  • Alfred P. Sloan Foundation
  • Division of Computer and Network Systems (1514256)

This publication has 37 references indexed in Scilit: