Skip to yearly menu bar Skip to main content

Workshop: Machine Learning for Systems

Early notice: GenAI-based Datarace Fix for Real-World Golang Programs

Feiyang Jin · Zhizhou Zhang · Rajkishore Barik · Gautam Korlam · Milind Chabbi


Data race detection has been a subject of extensive research for decades; the practical deployment of race detectors has also become increasingly commonplace in industrial settings. However, the focus has mainly been on the detection aspect, with relatively little attention directed toward the challenging task of autonomously repairing programs with data races. This discrepancy is understandable given the inherent complexities of fixing the data race and the substantial engineering efforts required to integrate fixes into existing workflows.In this paper, we introduce a novel closed-loop application that harnesses the power of Generative AI to fix data races automatically. Our early experiments involving this application within Uranus's internal codebase have yielded promising results. The evaluation results suggest a bright future for integrating this application into Uranus's infrastructure, potentially revolutionizing how data races are handled in large-scale software development environments.

Chat is not available.