Trust, but verify: Optimistic Effect Analysis for Reusable Code

dc.contributor.author Long, Yuheng
dc.contributor.author Rajan, Hridesh
dc.contributor.author Rajan, Hridesh
dc.contributor.department Computer Science
dc.date 2018-02-13T23:21:52.000
dc.date.accessioned 2020-06-30T01:55:51Z
dc.date.available 2020-06-30T01:55:51Z
dc.date.issued 2012-07-10
dc.description.abstract <p>We present an optimistic effect system for enabling safe concurrency in modern object-oriented languages with an open world assumption. New to our effect system is the notion of open effects. An open effect is a placeholder effect. It is produced by method calls when the dynamic type of the receiver object is unknown. An open effect is assumed to be blank (i.e., noninterfering effect) statically but verified to be truly so when the dynamic type of the receiver is known. An open effect-based analysis has several benefits. It is modular and so it allows analysis of partial programs and libraries. It is more precise than a comparable static analysis. It also has a small annotation overhead, and does not require specification on super type methods to restrict overriding in subclasses. We have formalized our analysis and proven that it is sound and that it enables deterministic semantics. We have also extended the OpenJDK Java compiler with support for open effects and tested its effectiveness on several reusable library classes where it shows only about 0.13-7.65\% overhead and good speedup.</p>
dc.identifier archive/lib.dr.iastate.edu/cs_techreports/212/
dc.identifier.articleid 1191
dc.identifier.contextkey 5436725
dc.identifier.s3bucket isulib-bepress-aws-west
dc.identifier.submissionpath cs_techreports/212
dc.identifier.uri https://dr.lib.iastate.edu/handle/20.500.12876/20031
dc.source.bitstream archive/lib.dr.iastate.edu/cs_techreports/212/TR.pdf|||Fri Jan 14 22:35:26 UTC 2022
dc.subject.disciplines Programming Languages and Compilers
dc.subject.disciplines Software Engineering
dc.subject.keywords types and effects
dc.subject.keywords concurrency
dc.subject.keywords safety
dc.title Trust, but verify: Optimistic Effect Analysis for Reusable Code
dc.type article
dc.type.genre article
dspace.entity.type Publication
relation.isAuthorOfPublication 4e3f4631-9a99-4a4d-ab81-491621e94031
relation.isOrgUnitOfPublication f7be4eb9-d1d0-4081-859b-b15cee251456
File
Original bundle
Now showing 1 - 1 of 1
No Thumbnail Available
Name:
TR.pdf
Size:
685.23 KB
Format:
Adobe Portable Document Format
Description:
Collections