用于Actor程序静态分析的邮箱抽象

Quentin Stiévenart, Jens Nicolay, W. Meuter, Coen De Roover
{"title":"用于Actor程序静态分析的邮箱抽象","authors":"Quentin Stiévenart, Jens Nicolay, W. Meuter, Coen De Roover","doi":"10.4230/LIPIcs.ECOOP.2017.25","DOIUrl":null,"url":null,"abstract":"Properties such as the absence of errors or bounds on mailbox sizes are hard to deduce statically for actor-based programs. \nThis is because actor-based programs exhibit several sources of unboundedness, in addition to the non-determinism that is inherent to the concurrent execution of actors. \nWe developed a static technique based on abstract interpretation to soundly reason in a finite amount of time about the possible executions of an actor-based program. \nWe use our technique to statically verify the absence of errors in actor-based programs, and to compute upper bounds on the actors' mailboxes. \nSound abstraction of these mailboxes is crucial to the precision of any such technique. \nWe provide several mailbox abstractions and categorize them according to the extent to which they preserve message ordering and multiplicity of messages in a mailbox. \nWe formally prove the soundness of each mailbox abstraction, and empirically evaluate their precision and performance trade-offs on a corpus of benchmark programs. \nThe results show that our technique can statically verify the absence of errors for more benchmark programs than the state-of-the-art analysis.","PeriodicalId":172012,"journal":{"name":"European Conference on Object-Oriented Programming","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-06-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"11","resultStr":"{\"title\":\"Mailbox Abstractions for Static Analysis of Actor Programs\",\"authors\":\"Quentin Stiévenart, Jens Nicolay, W. Meuter, Coen De Roover\",\"doi\":\"10.4230/LIPIcs.ECOOP.2017.25\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Properties such as the absence of errors or bounds on mailbox sizes are hard to deduce statically for actor-based programs. \\nThis is because actor-based programs exhibit several sources of unboundedness, in addition to the non-determinism that is inherent to the concurrent execution of actors. \\nWe developed a static technique based on abstract interpretation to soundly reason in a finite amount of time about the possible executions of an actor-based program. \\nWe use our technique to statically verify the absence of errors in actor-based programs, and to compute upper bounds on the actors' mailboxes. \\nSound abstraction of these mailboxes is crucial to the precision of any such technique. \\nWe provide several mailbox abstractions and categorize them according to the extent to which they preserve message ordering and multiplicity of messages in a mailbox. \\nWe formally prove the soundness of each mailbox abstraction, and empirically evaluate their precision and performance trade-offs on a corpus of benchmark programs. \\nThe results show that our technique can statically verify the absence of errors for more benchmark programs than the state-of-the-art analysis.\",\"PeriodicalId\":172012,\"journal\":{\"name\":\"European Conference on Object-Oriented Programming\",\"volume\":\"1 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2017-06-13\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"11\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"European Conference on Object-Oriented Programming\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.4230/LIPIcs.ECOOP.2017.25\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"European Conference on Object-Oriented Programming","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4230/LIPIcs.ECOOP.2017.25","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 11

摘要

对于基于角色的程序,诸如没有错误或邮箱大小限制之类的属性很难静态地推断出来。这是因为基于参与者的程序除了参与者并发执行所固有的非确定性之外,还表现出了几种不受限制的来源。我们开发了一种基于抽象解释的静态技术,可以在有限的时间内对基于参与者的程序的可能执行进行合理的推理。我们使用我们的技术来静态地验证基于角色的程序中不存在错误,并计算角色邮箱的上限。这些邮箱的合理抽象对于任何此类技术的精确性都是至关重要的。我们提供了几个邮箱抽象,并根据它们在多大程度上保持邮箱中的消息顺序和消息的多样性对它们进行了分类。我们正式证明了每个邮箱抽象的合理性,并在基准程序的语料库上经验地评估了它们的精度和性能权衡。结果表明,与最先进的分析相比,我们的技术可以静态地验证更多基准程序的无错误。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Mailbox Abstractions for Static Analysis of Actor Programs
Properties such as the absence of errors or bounds on mailbox sizes are hard to deduce statically for actor-based programs. This is because actor-based programs exhibit several sources of unboundedness, in addition to the non-determinism that is inherent to the concurrent execution of actors. We developed a static technique based on abstract interpretation to soundly reason in a finite amount of time about the possible executions of an actor-based program. We use our technique to statically verify the absence of errors in actor-based programs, and to compute upper bounds on the actors' mailboxes. Sound abstraction of these mailboxes is crucial to the precision of any such technique. We provide several mailbox abstractions and categorize them according to the extent to which they preserve message ordering and multiplicity of messages in a mailbox. We formally prove the soundness of each mailbox abstraction, and empirically evaluate their precision and performance trade-offs on a corpus of benchmark programs. The results show that our technique can statically verify the absence of errors for more benchmark programs than the state-of-the-art analysis.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术文献互助群
群 号:604180095
Book学术官方微信