{"id":{"repo_id":"tamu","oai_identifier":"oai:oaktrust.library.tamu.edu:1969.1/192565"},"canonical_url":"https://search.ndltd.org/etd/tamu/oai:oaktrust.library.tamu.edu:1969.1/192565","repository":{"repo_id":"tamu","name":"Texas A&M University","base_url":"https://oaktrust.library.tamu.edu/server/oai/request"},"display":{"title":"Efficient and Scalable Whole Program Race Detection for Java and Android Programs","abstract":"Races are common in all concurrency systems, including multithreaded programs, event-driven programs, distributed systems, etc. Existing static tools cannot scale well on large programs or report too many false positives due to not reasoning happens-before relations. While dynamic tools are bound by test inputs, thus they do not expose all potential bugs. This thesis presents an efﬁcient race detection framework design along with two implementations, SWORD and SDROID, that can efﬁciently detect races on real-world Java programs and Android apps. The design leverages the state-of-the-art context-sensitive pointer analysis and uses a concept called \"origin\" to compute the alias information between concurrent entities efﬁciently (e.g., threads, events, etc.). It then detects races based on a ﬂow-sensitive lockset algorithm and a highly optimized Static Happens-Before (SHB) graph. To further support race detection on Android apps, we create an abstract thread model for Android systems and extend our race detection framework on it. Our evaluation compares SWORD with two state-of-the-art static race detectors. The results indicate SWORD achieves a 10x speedup over previous work and has the highest precision on whole program race detection for Java programs. We also use SDROID to expose some previously unknown bugs in some popular Android apps.","abstract_html":"Races are common in all concurrency systems, including multithreaded programs, event-driven programs, distributed systems, etc. Existing static tools cannot scale well on large programs or report too many false positives due to not reasoning happens-before relations. While dynamic tools are bound by test inputs, thus they do not expose all potential bugs. This thesis presents an efﬁcient race detection framework design along with two implementations, SWORD and SDROID, that can efﬁciently detect races on real-world Java programs and Android apps. The design leverages the state-of-the-art context-sensitive pointer analysis and uses a concept called &quot;origin&quot; to compute the alias information between concurrent entities efﬁciently (e.g., threads, events, etc.). It then detects races based on a ﬂow-sensitive lockset algorithm and a highly optimized Static Happens-Before (SHB) graph. To further support race detection on Android apps, we create an abstract thread model for Android systems and extend our race detection framework on it. Our evaluation compares SWORD with two state-of-the-art static race detectors. The results indicate SWORD achieves a 10x speedup over previous work and has the highest precision on whole program race detection for Java programs. We also use SDROID to expose some previously unknown bugs in some popular Android apps.","abstract_has_math":false,"creators":["Li, Yanze"],"institution":"Texas A&M University","degree_name":"Master of Science","degree_level":"Masters","degree_discipline":"Computer Science","degree_department":"Computer Science and Engineering","school":null,"contributors":[],"advisors":["Huang, Jeff"],"committee_chairs":[],"committee_members":["Welch, Jennifer Lundelius","Hou, I-Hong"],"year":2020,"date_issued":"2020-08-05","date_published":"2020-08-05","updated_at":"2026-11-19T08:20:17Z","subjects":["Concurrency","Race Detection","Program Analysis","Static Analysis"],"languages":["en"],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[{"key":"person:identifier.orcid","label":"ORCID","values":["0000-0003-4647-4482"],"render_values":[{"text":"0000-0003-4647-4482","href":"https://orcid.org/0000-0003-4647-4482","code":true}]}]},"links":{"outbound_url":"https://hdl.handle.net/1969.1/192565","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/1969.1/192565","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":"embargoed","embargo_until":"2022-08-01","access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Atamu%3Aoai%3Aoaktrust.library.tamu.edu%3A1969.1%2F192565","prefix":"oai_dc"},"source_record":{"url":"https://oaktrust.library.tamu.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aoaktrust.library.tamu.edu%3A1969.1%2F192565","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Huang, Jeff"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Welch, Jennifer Lundelius","Hou, I-Hong"]},{"key":"dc:creator","label":"Author","values":["Li, Yanze"]},{"key":"person:identifier.orcid","label":"ORCID","values":["0000-0003-4647-4482"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2021-02-22T18:04:54Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2022-08-01T06:52:40Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2020-08"]},{"key":"dc:date.embargo","label":"Dc Date Embargo","values":["2022-08-01"]},{"key":"dc:date.issued","label":"Date","values":["2020-08-05"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["August 2020"]},{"key":"dc:date.updated","label":"Dc Date Updated","values":["2021-02-22T18:04:55Z"]},{"key":"dc:type","label":"Dc Type","values":["Thesis","text"]},{"key":"thesis:degree_department","label":"Department","values":["Computer Science and Engineering"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Texas A&M University"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Concurrency","Race Detection","Program Analysis","Static Analysis"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1969.1/192565"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Races are common in all concurrency systems, including multithreaded programs, event-driven programs, distributed systems, etc. Existing static tools cannot scale well on large programs or report too many false positives due to not reasoning happens-before relations. While dynamic tools are bound by test inputs, thus they do not expose all potential bugs. This thesis presents an efﬁcient race detection framework design along with two implementations, SWORD and SDROID, that can efﬁciently detect races on real-world Java programs and Android apps. The design leverages the state-of-the-art context-sensitive pointer analysis and uses a concept called \"origin\" to compute the alias information between concurrent entities efﬁciently (e.g., threads, events, etc.). It then detects races based on a ﬂow-sensitive lockset algorithm and a highly optimized Static Happens-Before (SHB) graph. To further support race detection on Android apps, we create an abstract thread model for Android systems and extend our race detection framework on it. Our evaluation compares SWORD with two state-of-the-art static race detectors. The results indicate SWORD achieves a 10x speedup over previous work and has the highest precision on whole program race detection for Java programs. We also use SDROID to expose some previously unknown bugs in some popular Android apps."]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Efficient and Scalable Whole Program Race Detection for Java and Android Programs"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Huang, Jeff"],"dc:contributor.committeemember":["Welch, Jennifer Lundelius","Hou, I-Hong"],"dc:creator":["Li, Yanze"],"dc:date.accessioned":["2021-02-22T18:04:54Z"],"dc:date.available":["2022-08-01T06:52:40Z"],"dc:date.created":["2020-08"],"dc:date.embargo":["2022-08-01"],"dc:date.issued":["2020-08-05"],"dc:date.submitted":["August 2020"],"dc:date.updated":["2021-02-22T18:04:55Z"],"dc:description.abstract":["Races are common in all concurrency systems, including multithreaded programs, event-driven programs, distributed systems, etc. Existing static tools cannot scale well on large programs or report too many false positives due to not reasoning happens-before relations. While dynamic tools are bound by test inputs, thus they do not expose all potential bugs. This thesis presents an efﬁcient race detection framework design along with two implementations, SWORD and SDROID, that can efﬁciently detect races on real-world Java programs and Android apps. The design leverages the state-of-the-art context-sensitive pointer analysis and uses a concept called \"origin\" to compute the alias information between concurrent entities efﬁciently (e.g., threads, events, etc.). It then detects races based on a ﬂow-sensitive lockset algorithm and a highly optimized Static Happens-Before (SHB) graph. To further support race detection on Android apps, we create an abstract thread model for Android systems and extend our race detection framework on it. Our evaluation compares SWORD with two state-of-the-art static race detectors. The results indicate SWORD achieves a 10x speedup over previous work and has the highest precision on whole program race detection for Java programs. We also use SDROID to expose some previously unknown bugs in some popular Android apps."],"dc:format.mimetype":["application/pdf"],"dc:identifier.uri":["https://hdl.handle.net/1969.1/192565"],"dc:language.iso":["en"],"dc:subject":["Concurrency","Race Detection","Program Analysis","Static Analysis"],"dc:title":["Efficient and Scalable Whole Program Race Detection for Java and Android Programs"],"dc:type":["Thesis","text"],"others:access_status":["open.access"],"person:identifier.orcid":["0000-0003-4647-4482"],"thesis:degree_department":["Computer Science and Engineering"],"thesis:degree_discipline":["Computer Science"],"thesis:degree_level":["Masters"],"thesis:degree_name":["Master of Science"],"thesis:institution_name":["Texas A&M University"]},"updated_at":"2026-11-19T08:20:17Z"}