Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/985072.985082acmconferencesArticle/Chapter ViewAbstractPublication PagessplashConference Proceedingsconference-collections
Article

Encapsulating concurrency with Early-Reply

Published: 04 November 2002 Publication History

Abstract

Component methods often produce their final parameter values long before the method body is ready to terminate. To minimize client blocking, Early-Reply can be used to forward invocation results to the caller as soon as they are (safely) available. After executing Early-Reply, the method remainder and the client caller can proceed concurrently, modulo synchronization constraints. The prime motivation for Early-Reply, then, is to improve performance factors such as response time and resource utilization.Early-Reply received previous attention as a construct for explicit concurrent programming. It's value for sequential programming, however, has not been widely recognized. The present research supplies a formal treatment of Early-Reply as a basis for concurrent execution of sequential programs. In particular, we reformulate Early-Reply under local proof obligations that encapsulate concurrency as a (temporal) unit of information hiding. The upshot is that software developers can use Early-Reply to exploit the performance benefits of concurrent execution, without compromising the reasoning benefits of sequential programming.

References

[1]
Gul Agha. ACTORS: A Model of Concurrent Computation in Distributed Systems. MIT Press, Cambridge, Mass., 1986.
[2]
Pierre America. POOL-T: A parallel object-oriented language. In Akinori Yonezawa and Mario Tokoro, editors, Object Oriented Concurrent Programming, pages 199--220. MIT Press, 1987.
[3]
Denis Caromel. Toward a method of object-oriented concurrent programming. Communications of the ACM, 36(9):90--102, 1993.
[4]
Dennis de Champeaux, Douglas Lea, and Penelope Faure. Object-Oriented System Development. Addison-Wesley, 1993.
[5]
Tom Ender. Object-Oriented Programming with REXX. John Wiley and Sons, Ine, 1997.
[6]
Douglas E. Harms and Bruce W. Weide. Copying and swapping: Influences on the design of reusable software components. IEEE Trans. Software Engineering, 17(5):424--435, May 1991.
[7]
Doug Lea. Concurrent Programming in Java: Design Principles and Patterns. Addison-Wesley, 1996.
[8]
Michael Philippsen. A survey of concurrent object-oriented languages. Concurrency: Practice and Experience, 12(10):917--980, 2000.
[9]
Scott M. Pike and Nigamanth Sridhar. Early reply components: Concurrent execution with sequential reasoning. In Proceedings of the 7th International Conference on Software Reuse, volume 2319 of LNCS, pages 46--61. Springer-Verlag, April 2002.
[10]
Michael L. Scott. The lynx distributed programming language: Motivation, design, and experience. Computer Languages, 16(3):209--233, 1991.
[11]
Michael L. Scott. Programming Language Pragmatics. Morgan Kaufmann, 2000.

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
OOPSLA '02: Companion of the 17th annual ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications
November 2002
131 pages
ISBN:1581136269
DOI:10.1145/985072
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: 04 November 2002

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Article

Conference

OOPSLA02
Sponsor:

Upcoming Conference

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 133
    Total Downloads
  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 10 Nov 2024

Other Metrics

Citations

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media