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

Resource usage contracts for .NET

Published:28 May 2011Publication 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. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. M. Fähndrich, M. Barnett, and F. Logozzo. Embedded contract languages. In SAC 2010, pages 2103--2110. ACM, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. D. Garbervetsky, M. Rouax, and J. Tapicer. SEIF project: ResourceContracts.NET. http://lafhis.dc.uba.ar/resourcecontracts/files/report.pdf.Google ScholarGoogle Scholar

Index Terms

  1. Resource usage contracts for .NET

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • 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

          Copyright © 2011 ACM

          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]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 28 May 2011

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • short-paper

          Upcoming Conference

          ICSE 2025
        • Article Metrics

          • Downloads (Last 12 months)0
          • Downloads (Last 6 weeks)0

          Other Metrics

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader