Skip to main content

Automatic Remodularization and Optimized Synthesis of Product-Families

  • Conference paper
Generative Programming and Component Engineering (GPCE 2004)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 3286))

Abstract

A product-family is a suite of integrated tools that share a common infrastructure. Program synthesis of individual tools can replicate common code, leading to unnecessarily large executables and longer build times. In this paper, we present remodularization techniques that optimize the synthesis of product-families. We show how tools can be automatically remodularized so that shared files are identified and extracted into a common package, and how isomorphic class inheritance hierarchies can be merged into a single hierarchy. Doing so substantially reduces the cost of program synthesis, product-family build times, and executable sizes. We present a case study of a product-family with five tools totalling over 170K LOC, where our optimisations reduce archive size and build times by 40%.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Batory, D., Sarvela, J.N., Rauschmayer, A.: Scaling Step-Wise Refinement. IEEE Transactions on Software Engineering (June 2004)

    Google Scholar 

  2. Batory, D., Liu, J., Sarvela, J.N.: Refinements and Multi-Dimensional Separation of Concerns. In: ACM SIGSOFT, ESEC/FSE2003 (2003)

    Google Scholar 

  3. Batory, D.: The Road to Utopia: A Future for Generative Programming. Keynote presentation at Dagstuhl for Domain-Specific Program Generation, March 23-28 (2003)

    Google Scholar 

  4. Ernst, E.: Propagating Class and Method Combination. In: Guerraoui, R. (ed.) ECOOP 1999. LNCS, vol. 1628, Springer, Heidelberg (1999)

    Chapter  Google Scholar 

  5. Garlan, D., Allen, R., Ockerbloom, J.: Architectural Mismatch: Why it is hard to Build Systems from Existing Parts. In: ICSE 1995 (1995)

    Google Scholar 

  6. Kiczales, G., Hilsdale, E., Hugunin, J., Kirsten, M., Palm, J., Griswold, W.G.: An overview of AspectJ. In: Knudsen, J.L. (ed.) ECOOP 2001. LNCS, vol. 2072, Springer, Heidelberg (2001)

    Chapter  Google Scholar 

  7. Ossher, H., Tarr, P.: On the Need for On-Demand Remodularization. In: ECOOP 2000, Position Paper for Aspects and Dimensions of Concern Workshop (2000)

    Google Scholar 

  8. Mezini, M., Ostermann, K.: Integrating independent components with on-demand remodularization. In: Proceedings of OOPSLA 2002 (2002)

    Google Scholar 

  9. Smaragdakis, Y., Batory, D.: Mixin Layers: An Object-Oriented Implementation Technique for Refinements and Collaboration-Based Designs. ACM TOSEM (March 2002)

    Google Scholar 

  10. Snelting, G., Tip, F.: Semantics-Based Composition of Class Hierarchies. In: Magnusson, B. (ed.) ECOOP 2002. LNCS, vol. 2374, pp. 562–584. Springer, Heidelberg (2002)

    Chapter  Google Scholar 

  11. Snelting, G.: Personal communication

    Google Scholar 

  12. Tip, F., Laffra, C., Sweeney, P.F., Streeter, D.: Practical experience with an application extractor for Java. In: Proceedings of OOPSLA, pp. 292–305 (November 1999)

    Google Scholar 

  13. Truyen, E., Vanhaute, B., Joosen, W., Verbaeten, P., Jrgensen, B.N.: Dynamic and Selective Combination of Extensions in Component-Based Applications. In: Proceedings of the 23rd International Conference on Software Engineering (ICSE 2001), Toronto, Canada (May 2001)

    Google Scholar 

  14. Agesen, O.: Concrete Type Inference: Delivering Object-Oriented Applications. Ph.D. thesis, Stanford University (1995)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Liu, J., Batory, D. (2004). Automatic Remodularization and Optimized Synthesis of Product-Families. In: Karsai, G., Visser, E. (eds) Generative Programming and Component Engineering. GPCE 2004. Lecture Notes in Computer Science, vol 3286. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-30175-2_20

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-30175-2_20

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-23580-4

  • Online ISBN: 978-3-540-30175-2

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics