作为抽象的参数化:并发程序数据流分析的一种可处理方法

Vineet Kahlon
{"title":"作为抽象的参数化:并发程序数据流分析的一种可处理方法","authors":"Vineet Kahlon","doi":"10.1109/LICS.2008.37","DOIUrl":null,"url":null,"abstract":"Dataflow analysis for concurrent programs is a problem of critical importance but, unfortunately, also an undecidable one. A key obstacle is to determine precisely how dataflow facts at a location in a given thread could be affected by operations of other threads.This problem, in turn, boils down to pairwise reachability, i.e., given program locations c<sub>1</sub> and c<sub>2</sub> in two threads T<sub>1</sub> and T<sub>2</sub>, respectively, determining whether c1 and c2 are simultaneously reachable in the presence of constraints imposed by synchronization primitives. Unfortunately, pairwise reachability is undecidable for most synchronization primitives. However, we leverage the surprising result that the closely related problem of parameterized pairwise reachability of c<sub>1</sub> and c<sub>2</sub>, i.e., whether for some n<sub>1</sub> and n<sub>2</sub>, c<sub>1</sub> and c<sub>2</sub> are simultaneously reachable in the program T<sub>1</sub> n<sub>1||</sub>T<sub>2</sub> n<sub>2</sub> comprised of n<sub>1</sub> copies of T<sub>1</sub> and n<sub>2</sub> copies of T<sub>2</sub>,is not only decidable for many primitives, but efficiently so. Although parameterization makes pairwise reachability tractable it may over-approximate the set of pairwise reachable locations and can, therefore, be looked upon as an abstraction technique.Where as abstract interpretation is used for control and data abstractions, we propose the use of parameterization as an abstraction for concurrency. Leveraging abstract interpretation in conjunction with parameterization allows us to lift two desirable properties of sequential dataflow analysis to the concurrent domain, i.e., precision and scalability.","PeriodicalId":298300,"journal":{"name":"2008 23rd Annual IEEE Symposium on Logic in Computer Science","volume":"184 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2008-06-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"15","resultStr":"{\"title\":\"Parameterization as Abstraction: A Tractable Approach to the Dataflow Analysis of Concurrent Programs\",\"authors\":\"Vineet Kahlon\",\"doi\":\"10.1109/LICS.2008.37\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Dataflow analysis for concurrent programs is a problem of critical importance but, unfortunately, also an undecidable one. A key obstacle is to determine precisely how dataflow facts at a location in a given thread could be affected by operations of other threads.This problem, in turn, boils down to pairwise reachability, i.e., given program locations c<sub>1</sub> and c<sub>2</sub> in two threads T<sub>1</sub> and T<sub>2</sub>, respectively, determining whether c1 and c2 are simultaneously reachable in the presence of constraints imposed by synchronization primitives. Unfortunately, pairwise reachability is undecidable for most synchronization primitives. However, we leverage the surprising result that the closely related problem of parameterized pairwise reachability of c<sub>1</sub> and c<sub>2</sub>, i.e., whether for some n<sub>1</sub> and n<sub>2</sub>, c<sub>1</sub> and c<sub>2</sub> are simultaneously reachable in the program T<sub>1</sub> n<sub>1||</sub>T<sub>2</sub> n<sub>2</sub> comprised of n<sub>1</sub> copies of T<sub>1</sub> and n<sub>2</sub> copies of T<sub>2</sub>,is not only decidable for many primitives, but efficiently so. Although parameterization makes pairwise reachability tractable it may over-approximate the set of pairwise reachable locations and can, therefore, be looked upon as an abstraction technique.Where as abstract interpretation is used for control and data abstractions, we propose the use of parameterization as an abstraction for concurrency. Leveraging abstract interpretation in conjunction with parameterization allows us to lift two desirable properties of sequential dataflow analysis to the concurrent domain, i.e., precision and scalability.\",\"PeriodicalId\":298300,\"journal\":{\"name\":\"2008 23rd Annual IEEE Symposium on Logic in Computer Science\",\"volume\":\"184 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2008-06-24\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"15\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2008 23rd Annual IEEE Symposium on Logic in Computer Science\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/LICS.2008.37\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2008 23rd Annual IEEE Symposium on Logic in Computer Science","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/LICS.2008.37","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 15

摘要

并发程序的数据流分析是一个至关重要的问题,但不幸的是,也是一个无法确定的问题。一个关键的障碍是精确地确定给定线程中某个位置的数据流事实如何受到其他线程的操作的影响。这个问题,反过来,归结为两两可达性,即,给定程序位置c1和c2分别在两个线程T1和T2中,确定c1和c2是否在同步原语施加的约束下同时可达。不幸的是,对于大多数同步原语来说,两两可达性是不可确定的。然而,我们利用了一个令人惊讶的结果,即与c1和c2的参数化两两可达性密切相关的问题,即对于某些n1和n2, c1和c2是否在由n1个T1副本和n2个T2副本组成的程序T1 n1||T2 n2中同时可达,这不仅对许多原语是可决定的,而且是有效的。尽管参数化使两两可达性易于处理,但它可能会过度逼近两两可达位置的集合,因此可以将其视为一种抽象技术。当抽象解释用于控制和数据抽象时,我们建议使用参数化作为并发的抽象。将抽象解释与参数化结合起来,使我们能够将顺序数据流分析的两个理想属性提升到并发领域,即精度和可伸缩性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Parameterization as Abstraction: A Tractable Approach to the Dataflow Analysis of Concurrent Programs
Dataflow analysis for concurrent programs is a problem of critical importance but, unfortunately, also an undecidable one. A key obstacle is to determine precisely how dataflow facts at a location in a given thread could be affected by operations of other threads.This problem, in turn, boils down to pairwise reachability, i.e., given program locations c1 and c2 in two threads T1 and T2, respectively, determining whether c1 and c2 are simultaneously reachable in the presence of constraints imposed by synchronization primitives. Unfortunately, pairwise reachability is undecidable for most synchronization primitives. However, we leverage the surprising result that the closely related problem of parameterized pairwise reachability of c1 and c2, i.e., whether for some n1 and n2, c1 and c2 are simultaneously reachable in the program T1 n1||T2 n2 comprised of n1 copies of T1 and n2 copies of T2,is not only decidable for many primitives, but efficiently so. Although parameterization makes pairwise reachability tractable it may over-approximate the set of pairwise reachable locations and can, therefore, be looked upon as an abstraction technique.Where as abstract interpretation is used for control and data abstractions, we propose the use of parameterization as an abstraction for concurrency. Leveraging abstract interpretation in conjunction with parameterization allows us to lift two desirable properties of sequential dataflow analysis to the concurrent domain, i.e., precision and scalability.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信