Abstract
Several concurrent programming languages and systems – e.g., MPI, .NET, and SR – provide mechanisms to facilitate communication between one process and a group of others. One such mechanism is SR’s concurrent invocation statement (co statement). It specifies a group of operation invocations and normally terminates when all of its invocations have completed. To make the co statement more flexible, it can specify code in the invoker to execute as each invocation completes or to terminate the entire co statement before all of its invocations have completed. We have added an SR-like co statement to JR. Unlike SR, JR provides exception handling mechanisms, which are integrated with Java’s exception handling mechanism. However, JR needs additional mechanisms to deal with sources of asynchrony. The co statement introduces additional such sources of asynchrony for the invocations it initiates. This paper describes the design and implementation of an exception handling mechanism for JR’s co statement.
Chapter PDF
Similar content being viewed by others
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
References
Andrews, G.R., Olsson, R.A.: The SR Programming Language: Concurrency in Practice. The Benjamin/Cummings Publishing Co., Redwood City (1993)
Andrews, G.R., Olsson, R.A., Coffin, M., Elshoff, I., Nilsen, K., Purdin, T., Townsend, G.: An overview of the SR language and implementation. ACM Transactions on Programming Languages and Systems 10(1), 51–86 (1988)
Ichisugi, Y., Yonezawa, A.: Exception handling and real time features in an object-oriented concurrent language. In: Proceedings of the UK/Japan Workshop on Concurrency: Theory, Language, and Architecture, pp. 604–615 (1990)
Issarny, V.: An exception handling mechanism for parallel object-oriented programming: toward reusable, robust distributed software. Journal of Object-Oriented Programming 6(6), 29–40 (1993)
JR distribution, http://www.cs.ucdavis.edu/~olsson/research/jr/
Code and data for benchmarks, http://www.cs.ucdavis.edu/~olsson/research/jr/papers/jrcoexceptsAppendix
Keen, A.W., Ge, T., Maris, J.T., Olsson, R.A.: JR: Flexible distributed programming in an extended Java. ACM Transactions on Programming Languages and Systems, 578–608 (2004)
Keen, A.W., Olsson, R.A.: Exception handling during asynchronous method invocation. In: Monien, B., Feldmann, R.L. (eds.) Euro-Par 2002. LNCS, vol. 2400, pp. 656–660. Springer, Heidelberg (2002)
Message Passing Interface Forum, http://www.mpi-forum.org/
NET framework developer’s guide, http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconusingdelegates.asp
Olsson, R.A., Keen, A.W.: The JR Programming Language: Concurrent Programming in an Extended Java. Kluwer Academic Publishers, Inc., Dordrecht (2004) ISBN 1-4020-8085-9
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2005 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Chan, H.N.(., Pauli, E., Man, B.YK., Keen, A.W., Olsson, R.A. (2005). An Exception Handling Mechanism for the Concurrent Invocation Statement. In: Cunha, J.C., Medeiros, P.D. (eds) Euro-Par 2005 Parallel Processing. Euro-Par 2005. Lecture Notes in Computer Science, vol 3648. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11549468_77
Download citation
DOI: https://doi.org/10.1007/11549468_77
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-28700-1
Online ISBN: 978-3-540-31925-2
eBook Packages: Computer ScienceComputer Science (R0)