2007 · 91 citations · 20 references
ComputingComputer ScienceComputer SystemsCompilersData StructuresOperating SystemsConcurrency AnalysisConcurrent ProgrammingControl-flow AnalysisData-flow AnalysisSynchronization PrimitivesHeap ModelingHeap OrganizationInterleaving AnalysisInvariantsStatic Concurrency AnalysisThread
We present the first shape analysis for multithreaded programs that avoids the explicit enumeration of execution-interleavings. Our approach is to automatically infer a resource invariant associated with each lock that describes the part of the heap protected by the lock. This allows us to use a sequential shape analysis on each thread. We show that resource invariants of a certain class can be characterized as least fixed points and computed via repeated applications of shape analysis only on each individual thread. Based on this approach, we have implemented a thread-modular shape analysis tool and applied it to concurrent heap-manipulating code from Windows device drivers.
20
Patrick Cousot, Radhia Cousot · 1977 · 6.2K citations
Separation logic: a logic for shared mutable data structures
John Reynolds · 2003 · 2.2K citations
Stefan Savage, Michael T. Burrows, Greg Nelson et al. · ACM Transactions on Computer Systems · 1997 · 1.6K citations · Full text
Ownership types for safe programming
Chandrasekhar Boyapati, Robert Lee, Martin Rinard · 2002 · 571 citations