Detail výsledku

Pointer Race Freedom

HOLÍK, L.; MEYER, R.; WOLF, S.; HAZIZA, F. Pointer Race Freedom. In Verification, Model Checking, and Abstract Interpretation (VMCAI). Lecture Notes in Computer Science. Berlin: Springer Verlag, 2016. p. 393-412. ISBN: 978-3-662-49121-8.
Typ
článek ve sborníku konference
Jazyk
angličtina
Autoři
Holík Lukáš, doc. Mgr., Ph.D., UITS (FIT)
Meyer Roland, Prof. Dr.
Wolf Sebastian
Haziza Frédéric
Abstrakt

We propose a novel notion of pointer race for concurrent programs manipulating a shared heap. A pointer race is an access to a memory address which was freed, and it is out of the accessors control whether or not the cell has been re-allocated. We establish two results. (1) Under the assumption of pointer race freedom, it is sound to verify a program running under explicit memory management as if it was running with garbage collection. (2) Even the requirement of pointer race freedom itself can be verified under the garbage-collected semantics. We then prove analogues of the theorems for a stronger notion of pointer race needed to cope with performance-critical code purposely using racy comparisons and even racy dereferences of pointers. As a practical contribution, we apply our results to optimize a thread-modular analysis under explicit memory management. Our experiments confirm a speed-up of up to two orders of magnitude.

Klíčová slova

pointer race
pointer race freedom

garbage collecting semantics
memory managed semantics
thread modular reasoning

URL
Anotace

Navrhujem pojem ukazatelový závod, analogický známému pojmu datový závod, a studujeme jeho semantické důsledky. Ukazujeme, jak je jej možné použít k zefetktivnění verifikace paralelních programů rozdělením verifikačního úsilí na 1) ověření, že program neobsahuje ukazatelové závody, a 2) ověření původní vlastnosti s pomocí předpokladu z bodu 1.

Rok
2016
Strany
393–412
Sborník
Verification, Model Checking, and Abstract Interpretation (VMCAI)
Řada
Lecture Notes in Computer Science
Svazek
9583
Konference
International Conference on Verification, Model Checking, and Abstract Interpretation (VMCAI 2016)/Symposium on Principles of Programming Languages (POPL 2016)
ISBN
978-3-662-49121-8
Vydavatel
Springer Verlag
Místo
Berlin
DOI
UT WoS
000375148800019
EID Scopus
BibTeX
@inproceedings{BUT130931,
  author="Lukáš {Holík} and Roland {Meyer} and Sebastian {Wolf} and Frédéric {Haziza}",
  title="Pointer Race Freedom",
  booktitle="Verification, Model Checking, and Abstract Interpretation (VMCAI)",
  year="2016",
  series="Lecture Notes in Computer Science",
  volume="9583",
  pages="393--412",
  publisher="Springer Verlag",
  address="Berlin",
  doi="10.1007/978-3-662-49122-5\{_}19",
  isbn="978-3-662-49121-8",
  url="http://link.springer.com/chapter/10.1007%2F978-3-662-49122-5_19"
}
Projekty
Spolehlivost a bezpečnost v IT, VUT, Vnitřní projekty VUT, FIT-S-14-2486, zahájení: 2014-01-01, ukončení: 2016-12-31, ukončen
Verifikace nekonečně stavových systémů založená na konečných automatech, GAČR, Postdoktorandské granty, GP13-37876P, zahájení: 2013-02-01, ukončení: 2015-12-31, ukončen
Pracoviště
Nahoru