A Refinement Hierarchy for Free List Memory Allocators
Existing implementations of dynamic memory allocators (DMA) employ a large spectrum of policies and techniques. The formal specifications of these techniques are quite complicated in isolation and very complex when combined. Therefore, the formal reasoning on a specific DMA implementation is difficult for automatic tools and mostly single-use. This paper proposes a solution to this problem by providing formal models for a full class of DMA, the free list class. To obtain manageable formal reasoning and reusable formal models, we organise these models in a hierarchy ranked by refinement relations. We prove the soundness of models and refinement relations using an off-the-shelf theorem prover. We demonstrate that our hierarchy is a basis for an algorithm theory for the class of free list DMA: it abstracts various existing implementations of DMA and leads to new DMA implementations. We illustrate its application to model-based code generation, testing, run-time verification, and static analysis.
Sun 18 JunDisplayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
16:00 - 17:30 | Session 4: A Deeper LookISMM 2017 at Aula Master Chair(s): Steve Blackburn Australian National University | ||
16:00 30mTalk | "What's in a Name?" Going Beyond Allocation Site Names in Heap Analysis ISMM 2017 | ||
16:30 30mTalk | A Refinement Hierarchy for Free List Memory Allocators ISMM 2017 Bin Fang East China Normal University (China) and University Paris Diderot and CNRS (France), Mihaela Sighireanu IRIF, University Paris Diderot and CNRS, France | ||
17:00 30mTalk | Avoiding Consistency Exceptions Under Strong Memory Consistency Models ISMM 2017 Minjia Zhang Microsoft Research, Swarnendu Biswas University of Texas at Austin, Michael D. Bond Ohio State University |