skip to main content
10.1145/1984708.1984725acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
short-paper

Resource usage contracts for .NET

Published: 28 May 2011 Publication History

Abstract

Code Contracts [2] is a tool that allows the specification and verification of contracts (pre, post-condition, invariants) in all .NET based programming languages. Resource Contracts is an extension of this language to specify resource usage in .NET programs. The new annotations, initially focussed on dynamic memory, enable modular analysis of both memory consumption and lifetime properties. They are checked by relying on the own Code Contracts static verifier and a points-to analysis. This approach is implemented as a Visual Studio extension1, providing facilities such us autocompletion and verification at build time.

References

[1]
V. Braberman, F Fernández, D. Garbervetsky, and S Yovine. Parametric prediction of heap memory requirements. In ISMM'08. ACM, jun 2008.
[2]
M. Fähndrich, M. Barnett, and F. Logozzo. Embedded contract languages. In SAC 2010, pages 2103--2110. ACM, 2010.
[3]
D. Garbervetsky, M. Rouax, and J. Tapicer. SEIF project: ResourceContracts.NET. http://lafhis.dc.uba.ar/resourcecontracts/files/report.pdf.

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
TOPI '11: Proceedings of the 1st Workshop on Developing Tools as Plug-ins
May 2011
70 pages
ISBN:9781450305990
DOI:10.1145/1984708
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 28 May 2011

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. resource usage annotations
  2. static verification

Qualifiers

  • Short-paper

Conference

ICSE11
Sponsor:
ICSE11: International Conference on Software Engineering
May 28, 2011
HI, Waikiki, Honolulu, USA

Upcoming Conference

ICSE 2025

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 55
    Total Downloads
  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 08 Mar 2025

Other Metrics

Citations

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media