skip to main content
10.1145/72910.73347acmconferencesArticle/Chapter ViewAbstractPublication PagesscmConference Proceedingsconference-collections
Article
Free Access

Illustrating interference in interfering versions of programs

Published:01 October 1989Publication History

ABSTRACT

The need to integrate several versions of a program into a common one arises frequently, but it is a tedious and time consuming task to merge programs by hand. The program-integration algorithm recently proposed by S. Horwitz, J. Prins, and T. Reps provides a way to create a semantics-based tool for program integration. The integration algorithm is based on the assumption that any change in the behavior, rather than the text, of a program variant is significant and must be preserved in the merged program. An integration system based on this algorithm will determine whether the programs incorporate interfering changes, and, if they do not, will automatically create an integrated program that includes all changes as well as all features that are preserved in all variants.

In this paper we discuss how an integration tool can illustrate the causes of interference to the user when interference is detected. Our main technical result is an alternative characterization of the integration algorithm's interference criterion that is more suitable for illustrating the causes of interference. We then propose six methods for an integration system to display information to demonstrate the causes of interference to the user.

References

  1. 1.Ferrante, J. Gttenstein, K., and Warren, J., "The program dependence graph and its use in optimiition," ACM Trunsuctionr on Programming Languages and Sysrenu 9(3) pp. 3 19-349 (July 1987). Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. 2.Horwitz, S., Ptins, J. and Reps, T., "Integrating non-interfering versions of programs," pp. 133-145 in Conference Record of the Fifteenth ACM Symposium on Principles of Programming Languuges, (San Diego, CA, January 13-15, 1988). ACM, New York, NY (1988). Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. 3.Horwitz. S. Prins, J., and Reps, T. "Integrating non-interfering versions of programs," ACM Trans. Program. Lang. Sysj. 11(3)(July 1989). Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. 4.Kuck, D.J., Kuhn, R.H., Leasure. B. Padua, D.A., and Wolfe, M., "Dependence graphs and compiler optimizations:' pp. 207-218 in Conference Record of the Eighth ACM Symposium on Principles of Programming Lunguages, (WiJliamsburg, VA, January 26-28, 1981). ACM, New York, NY (1981). Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. 5.Reps, T. and Teitelbaum, T. "The Synthesizer Generator," Proceedings of the ACM SIGSOFTISIGPLAN Software Engineering Symposium on Pracjical Soflware Development Environments, (Pittsburgh, PA, Apr. 23-25.1984), ACM SIGPLANNotices 19(5) pp. 42-48 (May 1984). Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. 6.Reps, T., Horwitz, S. and Prim. J., "Suppott for integrating program variants in an environment for programming in the large," pp. 197-216 in Proceedings of the International Workshop on Software Version and Configuration Cotirol. (Grassau. W. Germanv. Jan. 27- 29, 1988) Berichre des German ChLlpler of he ACM, Vbi. 30, ed. J.F.H. Winkler,B.G. Teubner, Stungart, W. Germany (1988).Google ScholarGoogle Scholar
  7. 7.Reps, T. and Teitelbaum, T., The Synihesizer Generator: A System for Constructing Lunguage-Based Editors, Springer-Verlag. New York, NY (1988). Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. 8.Reps, T. and Yang, W., "The semantics of program slicing," TR-777, Computer Sciences Department, University of Wisconsin, Madison, WI (June 1988).Google ScholarGoogle Scholar

Index Terms

  1. Illustrating interference in interfering versions of programs

          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
            SCM '89: Proceedings of the 2nd International Workshop on Software configuration management
            October 1989
            178 pages
            ISBN:0897913345
            DOI:10.1145/72910

            Copyright © 1989 Copyright is held by the owner/author(s)

            Permission to make digital or hard copies of part or all 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 third-party components of this work must be honored. For all other uses, contact the Owner/Author.

            Publisher

            Association for Computing Machinery

            New York, NY, United States

            Publication History

            • Published: 1 October 1989

            Check for updates

            Qualifiers

            • Article

          PDF Format

          View or Download as a PDF file.

          PDF

          eReader

          View online with eReader.

          eReader