Program detection method and apparatus
Abstract
A program detection method includes receiving a program provided by a user, and obtaining, based on a query parameter and the program, a result of the program running in a weak memory environment. The query parameter indicates a maximum interval between two operations on which reordering occurs and that are of the program.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A program detection method, comprising: receiving, from a user, a program running in a weak memory environment; calculating a first interval between a first operation in a first thread of the program and a second operation in the first thread, and a second interval between a third operation in a second thread of the program and a fourth operation in the second thread, wherein the first operation and the third operation are a first pair of read and write operations performed on a first variable, wherein the second operation and the fourth operation are a second pair of read and write operations
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (12)
Non-Patent Literature (5)
- Brian Norris, et al., “CDSCHECKER: Checking Concurrent Data Structures Written with C/C++ Atomics” OOPSLA, Oct. 29-31, 2013, 19 pages.
- Herb Sutter, ““Strong” and “weak” hardware memory models” , 2012, retrieved from https://herbsutter.com/2012/08/02/strong-and-weak-hardware-memory-models/, 1 page. (Year: 2012).
- Herb Sutter, “Strong” and “weak” hardware memory models, Sutter's Mill, Aug. 2, 2012, 1 pages.
- Jeff Preshing, “Deep Graph Matching and Searching for Semantic Code Retrieval”, 2019, https://web.archive.org/web/20190824043640/https://preshing.com/20120515/memory-reordering-caught-in-the-act/, 15 pages. (Year: 2019).
- Manson et al., “The Java Memory Model”, 2005, ACM, 14 pages. (Year: 2005).