{"pub_number":"US12379974B2","doc_number":"12379974","country":"US","kind_code":"B2","patent_type":"utility","status":"active","title":"Data race detection with per-thread memory protection","abstract_text":"Data race detection in multi-threaded programs can be achieved by leveraging per-thread memory protection technology in conjunction with a custom dynamic memory allocator to protect shared memory objects with unique memory protection keys, allowing data races to be turned into inter-thread memory access violations. Threads may acquire or release the keys used for accessing protected memory objects at the entry and exit points of critical sections within the program. An attempt by a thread to access a protected memory object within a critical section without the associated key triggers a protection fault, which may be indicative of a data race.","claims":[{"number":1,"text":"A method for data race detection during execution of a multi-threaded program comprising one or more critical sections, the method using a set of access keys available to protect memory objects in the one or more critical sections, wherein each memory object is protected by only one of the access keys at a time, the method comprising: maintaining, in one or more machine-readable media, a first subset of the set of access keys, the first subset consisting of access keys currently not held by any of multiple threads and thus available for acquisition; maintaining, in the one or more machine-read","independent":true}],"description":"","inventors":[{"name":"Lee Sangho","slug":"lee-sangho","country":"US"},{"name":"Ahmad Adil","slug":"ahmad-adil","country":"US"}],"assignees":[{"name":"Microsoft Technology Licensing Llc","slug":"microsoft-technology-licensing-llc","country":"US"}],"examiners":["Ghaffari Abu Zar"],"cpc_codes":["G06F 11/3624","G06F 11/3632","G06F 11/3636","G06F 12/084","G06F 12/10","G06F 2212/657","G06F 9/526","G06F 9/544"],"ipc_codes":["G06F 11/362","G06F 12/084","G06F 12/10","G06F 9/52","G06F 9/54"],"filing_date":"2022-12-15","pub_date":"2025-08-05","grant_date":"2025-08-05","priority_date":"2020-01-24","expiration_date":"2042-12-15","application_number":"US-202218082444-A","family_id":"FAM-74004179","family_members":[],"citations_made":[{"pub_number":"US2003115476A1","category":"SEA"},{"pub_number":"US2005246505A1","category":"SEA"},{"pub_number":"US2005283781A1","category":"SEA"},{"pub_number":"US2006271938A1","category":"SEA"},{"pub_number":"US2007186215A1","category":"SEA"},{"pub_number":"US2009199162A1","category":"SEA"},{"pub_number":"US2010100690A1","category":"APP"},{"pub_number":"US2010107167A1","category":"SEA"},{"pub_number":"US7870545B2","category":"SEA"},{"pub_number":"US7899997B2","category":"SEA"},{"pub_number":"US2011246993A1","category":"SEA"},{"pub_number":"WO2012101538A1","category":"APP"},{"pub_number":"US2013042080A1","category":"APP"},{"pub_number":"US2013290583A1","category":"SEA"},{"pub_number":"US2013290967A1","category":"SEA"},{"pub_number":"US2014289839A1","category":"SEA"},{"pub_number":"US9135082B1","category":"SEA"},{"pub_number":"US2016246641A1","category":"SEA"},{"pub_number":"US2016364315A1","category":"SEA"},{"pub_number":"US9524196B2","category":"SEA"},{"pub_number":"US2017286326A1","category":"SEA"},{"pub_number":"US2018060244A1","category":"SEA"},{"pub_number":"US2019377694A1","category":"SEA"},{"pub_number":"US2020014688A1","category":"SEA"},{"pub_number":"US2021191788A1","category":"SEA"}],"non_patent_literature":["“Decision to Grant Issued in European Patent Application No. 20829276.3”, Mailed Date: Aug. 10, 2023, 02 Pages.","“Notice of Allowance Issued in European Patent Application No. 20829276.3”, Mailed Date: May 17, 2023, 8 Pages.","Communication pursuant to Rules 70(2) and 70a(2) EPC and reference to Rule 39(1) received in European Application No. 23185246.8, mailed on Jan. 22, 2024, 2 pages.","European Search Report received for EP Application No. 23185246.8, mailed on Dec. 15, 2023, 9 pages."],"drawings_count":0,"source_id":"google_patents_public","upstream_forward_citations":0,"metrics":{"forward_citations":0,"indexed_forward_citations":0,"backward_citations":25,"npl_citations":4,"citations_per_year":0.0,"pagerank":0.5550359487533569,"citation_rank":143553637,"pagerank_rank":143553637,"velocity_rank":143553637,"family_citations":0}}