{"id":{"repo_id":"gatech","oai_identifier":"oai:repository.gatech.edu:1853/78663"},"canonical_url":"https://search.ndltd.org/etd/gatech/oai:repository.gatech.edu:1853/78663","repository":{"repo_id":"gatech","name":"Georgia Tech","base_url":"https://repository.gatech.edu/server/oai/request"},"display":{"title":"Data Race Analysis And Its Applications","abstract":"A data race is a troublesome bug frequently found in parallel programs. It occurs when two or more accesses to the same memory location happen concurrently, and at least one of them is a write. Data races are particularly notorious because programs with data races could lead to non-deterministic behaviors, where the program may or may not return the same result on different executions, even with identical inputs. It is difficult for programmers to identify data races given the non-determinism. As a result, even experienced developers often struggle to understand, locate, and fix data races without the aid of specialized tools. To assist programmers in writing correct parallel programs without data races, this dissertation outlines techniques for programmers to analyze data races. First, I studied the fundamentals of task-parallel programs and proved that data-race freedom leads to determinism for certain task-parallel programs. The theoretical result would greatly help programmers become confident in the correctness of their programs. Second, I designed a new dynamic race detection algorithm for task-parallel programs with promises. A promise is a construct that can be used to support arbitrary point-to-point synchronization. The race detection algorithm also applies to programs that use more restricted parallel constructs, as long as those constructs can be implemented using promises. The implementation of the race detector, together with several optimizations introduced, has a comparable slowdown to previous race detectors that do not support promises. Third, I built a tool that visualizes data races found in task-parallel programs. The visualizer consists of a graph builder and a visualization interface. Because most of the previous work only studied the visualization of performance bottlenecks, my tool is the first of its kind to visualize correctness issues detected in parallel programs. I also conducted a performance evaluation and an efficacy research survey to demonstrate the usefulness of the tool. Finally, I designed and implemented a closed-loop application to fix data races with the help of large language model (LLM). The application uses previous fixed data races as few-shot examples and asks chatGPT to remove data races found in a program. The proposed solution by chatGPT is checked again to ensure correctness before a new commit is created to notify engineers.","abstract_html":"A data race is a troublesome bug frequently found in parallel programs. It occurs when two or more accesses to the same memory location happen concurrently, and at least one of them is a write. Data races are particularly notorious because programs with data races could lead to non-deterministic behaviors, where the program may or may not return the same result on different executions, even with identical inputs. It is difficult for programmers to identify data races given the non-determinism. As a result, even experienced developers often struggle to understand, locate, and fix data races without the aid of specialized tools. To assist programmers in writing correct parallel programs without data races, this dissertation outlines techniques for programmers to analyze data races. First, I studied the fundamentals of task-parallel programs and proved that data-race freedom leads to determinism for certain task-parallel programs. The theoretical result would greatly help programmers become confident in the correctness of their programs. Second, I designed a new dynamic race detection algorithm for task-parallel programs with promises. A promise is a construct that can be used to support arbitrary point-to-point synchronization. The race detection algorithm also applies to programs that use more restricted parallel constructs, as long as those constructs can be implemented using promises. The implementation of the race detector, together with several optimizations introduced, has a comparable slowdown to previous race detectors that do not support promises. Third, I built a tool that visualizes data races found in task-parallel programs. The visualizer consists of a graph builder and a visualization interface. Because most of the previous work only studied the visualization of performance bottlenecks, my tool is the first of its kind to visualize correctness issues detected in parallel programs. I also conducted a performance evaluation and an efficacy research survey to demonstrate the usefulness of the tool. Finally, I designed and implemented a closed-loop application to fix data races with the help of large language model (LLM). The application uses previous fixed data races as few-shot examples and asks chatGPT to remove data races found in a program. The proposed solution by chatGPT is checked again to ensure correctness before a new commit is created to notify engineers.","abstract_has_math":false,"creators":["Jin, Feiyang"],"institution":"Georgia Institute of Technology","degree_name":null,"degree_level":"Doctoral","degree_discipline":null,"degree_department":"Computer Science","school":null,"contributors":[],"advisors":["Sarkar, Vivek"],"committee_chairs":[],"committee_members":["Orso, Alessandro","Zhang, Qirun","Vuduc, Richard","Chabbi, Milind"],"year":2025,"date_issued":"2025-06-02","date_published":"2025-06-02","updated_at":"2026-11-19T05:15:02Z","subjects":["Data race","Task-parall program","Promise","Data race detection and analysis","Program analysis and repair","Correctness bug"],"languages":["en_US"],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/1853/78663","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/1853/78663","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","download_url":null,"download_label":null,"download_source":null,"access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://repository.gatech.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Arepository.gatech.edu%3A1853%2F78663","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Sarkar, Vivek"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Orso, Alessandro","Zhang, Qirun","Vuduc, Richard","Chabbi, Milind"]},{"key":"dc:contributor.department","label":"Department","values":["Computer Science"]},{"key":"dc:contributor.other","label":"Dc Contributor Other","values":["College of Computing","School of Computer Science"]},{"key":"dc:creator","label":"Author","values":["Jin, Feiyang"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2025-08-15T12:40:53Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2025-08-15T12:40:53Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2025-08"]},{"key":"dc:date.issued","label":"Date","values":["2025-06-02"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["August 2025"]},{"key":"dc:date.updated","label":"Dc Date Updated","values":["2025-08-15T12:40:53Z"]},{"key":"dc:publisher","label":"Institution","values":["Georgia Institute of Technology"]},{"key":"dc:relation.advisorentity","label":"Dc Relation Advisorentity","values":["8579ad6d-7415-4b85-acb4-f0f64097a57d"]},{"key":"dc:relation.orgunit","label":"Dc Relation Orgunit","values":["c8892b3c-8db6-4b7b-a33a-1b67f7db2021","6b42174a-e0e1-40e3-a581-47bed0470a1e"]},{"key":"dc:type","label":"Dc Type","values":["Text","Dissertation"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Doctoral"]},{"key":"thesis:degree_program","label":"Thesis Degree Program","values":["Computer Science"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Data race","Task-parall program","Promise","Data race detection and analysis","Program analysis and repair","Correctness bug"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en_US"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1853/78663"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["A data race is a troublesome bug frequently found in parallel programs. It occurs when two or more accesses to the same memory location happen concurrently, and at least one of them is a write. Data races are particularly notorious because programs with data races could lead to non-deterministic behaviors, where the program may or may not return the same result on different executions, even with identical inputs. It is difficult for programmers to identify data races given the non-determinism. As a result, even experienced developers often struggle to understand, locate, and fix data races without the aid of specialized tools. To assist programmers in writing correct parallel programs without data races, this dissertation outlines techniques for programmers to analyze data races. First, I studied the fundamentals of task-parallel programs and proved that data-race freedom leads to determinism for certain task-parallel programs. The theoretical result would greatly help programmers become confident in the correctness of their programs. Second, I designed a new dynamic race detection algorithm for task-parallel programs with promises. A promise is a construct that can be used to support arbitrary point-to-point synchronization. The race detection algorithm also applies to programs that use more restricted parallel constructs, as long as those constructs can be implemented using promises. The implementation of the race detector, together with several optimizations introduced, has a comparable slowdown to previous race detectors that do not support promises. Third, I built a tool that visualizes data races found in task-parallel programs. The visualizer consists of a graph builder and a visualization interface. Because most of the previous work only studied the visualization of performance bottlenecks, my tool is the first of its kind to visualize correctness issues detected in parallel programs. I also conducted a performance evaluation and an efficacy research survey to demonstrate the usefulness of the tool. Finally, I designed and implemented a closed-loop application to fix data races with the help of large language model (LLM). The application uses previous fixed data races as few-shot examples and asks chatGPT to remove data races found in a program. The proposed solution by chatGPT is checked again to ensure correctness before a new commit is created to notify engineers."]},{"key":"dc:description.degree","label":"Dc Description Degree","values":["Ph.D."]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Data Race Analysis And Its Applications"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]}]}],"canonical_facts":{"dc:contributor.advisor":["Sarkar, Vivek"],"dc:contributor.committeemember":["Orso, Alessandro","Zhang, Qirun","Vuduc, Richard","Chabbi, Milind"],"dc:contributor.department":["Computer Science"],"dc:contributor.other":["College of Computing","School of Computer Science"],"dc:creator":["Jin, Feiyang"],"dc:date.accessioned":["2025-08-15T12:40:53Z"],"dc:date.available":["2025-08-15T12:40:53Z"],"dc:date.created":["2025-08"],"dc:date.issued":["2025-06-02"],"dc:date.submitted":["August 2025"],"dc:date.updated":["2025-08-15T12:40:53Z"],"dc:description.abstract":["A data race is a troublesome bug frequently found in parallel programs. It occurs when two or more accesses to the same memory location happen concurrently, and at least one of them is a write. Data races are particularly notorious because programs with data races could lead to non-deterministic behaviors, where the program may or may not return the same result on different executions, even with identical inputs. It is difficult for programmers to identify data races given the non-determinism. As a result, even experienced developers often struggle to understand, locate, and fix data races without the aid of specialized tools. To assist programmers in writing correct parallel programs without data races, this dissertation outlines techniques for programmers to analyze data races. First, I studied the fundamentals of task-parallel programs and proved that data-race freedom leads to determinism for certain task-parallel programs. The theoretical result would greatly help programmers become confident in the correctness of their programs. Second, I designed a new dynamic race detection algorithm for task-parallel programs with promises. A promise is a construct that can be used to support arbitrary point-to-point synchronization. The race detection algorithm also applies to programs that use more restricted parallel constructs, as long as those constructs can be implemented using promises. The implementation of the race detector, together with several optimizations introduced, has a comparable slowdown to previous race detectors that do not support promises. Third, I built a tool that visualizes data races found in task-parallel programs. The visualizer consists of a graph builder and a visualization interface. Because most of the previous work only studied the visualization of performance bottlenecks, my tool is the first of its kind to visualize correctness issues detected in parallel programs. I also conducted a performance evaluation and an efficacy research survey to demonstrate the usefulness of the tool. Finally, I designed and implemented a closed-loop application to fix data races with the help of large language model (LLM). The application uses previous fixed data races as few-shot examples and asks chatGPT to remove data races found in a program. The proposed solution by chatGPT is checked again to ensure correctness before a new commit is created to notify engineers."],"dc:description.degree":["Ph.D."],"dc:format.mimetype":["application/pdf"],"dc:identifier.uri":["https://hdl.handle.net/1853/78663"],"dc:language.iso":["en_US"],"dc:publisher":["Georgia Institute of Technology"],"dc:relation.advisorentity":["8579ad6d-7415-4b85-acb4-f0f64097a57d"],"dc:relation.orgunit":["c8892b3c-8db6-4b7b-a33a-1b67f7db2021","6b42174a-e0e1-40e3-a581-47bed0470a1e"],"dc:subject":["Data race","Task-parall program","Promise","Data race detection and analysis","Program analysis and repair","Correctness bug"],"dc:title":["Data Race Analysis And Its Applications"],"dc:type":["Text","Dissertation"],"dspace:entity.type":["Publication"],"thesis:degree_level":["Doctoral"],"thesis:degree_program":["Computer Science"]},"updated_at":"2026-11-19T05:15:02Z"}