Skip to main content

Adjunction for Garbage Collection with Application to Graph Rewriting

  • Conference paper
Term Rewriting and Applications (RTA 2007)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 4533))

Included in the following conference series:

Abstract

We investigate garbage collection of unreachable parts of rooted graphs from a categorical point of view. First, we define this task as the right adjoint of an inclusion functor. We also show that garbage collection may be stated via a left adjoint, hence preserving colimits, followed by two right adjoints. These three adjoints cope well with the different phases of a traditional garbage collector. Consequently, our results should naturally help to better formulate graph transformation steps in order to get rid of garbage (unwanted nodes). We illustrate this point on a particular class of graph rewriting systems based on a double pushout approach and featuring edge redirection. Our approach gives a neat rewriting step akin to the one on terms, where garbage never appears in the reduced term.

This work has been partly funded by the projet ARROWS of the French Agence Nationale de la Recherche.

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. Banach, R.: Term graph rewriting and garbage collection using opfibrations. Theoretical Computer Science 131, 29–94 (1994)

    Article  MATH  MathSciNet  Google Scholar 

  2. Barendregt, H., van Eekelen, M., Glauert, J., Kenneway, R., Plasmeijer, M.J., Sleep, M.: Term graph rewriting. In: de Bakker, J.W., Nijman, A.J., Treleaven, P.C. (eds.) PARLE 1987. LNCS, vol. 259, pp. 141–158. Springer, Heidelberg (1987)

    Google Scholar 

  3. Broek, P.V.D.: Algebraic graph rewriting using a single pushout. In: Abramsky, S. (ed.) CAAP 1991 and TAPSOFT 1991. LNCS, vol. 493, pp. 90–102. Springer, Heidelberg (1991)

    Google Scholar 

  4. Cohen, J.: Garbage collection of linked data structures. Computing Surveys 13(3), 341–367 (1981)

    Article  MathSciNet  Google Scholar 

  5. Collins, G.: A method for overlapping and erasure of lists. Communication of the ACM 3(12), 655–657 (1960)

    Article  Google Scholar 

  6. Duval, D., Echahed, R., Prost, F.: Modeling pointer redirection as cyclic term graph rewriting. In: TERMGRAPH 2006 (2006) (Extended version to appear in ENTCS)

    Google Scholar 

  7. Ehrig, H., Pfender, M., Schneider, H.J.: Graph-grammars: An algebraic approach. In: FOCS 1973, pp. 167–180 (1973)

    Google Scholar 

  8. Jones, R.E., Lins, R.: Garbage Collection: Algorithms for Automatic Dynamic Memory Management. J. Wiley & Son, New York (1996)

    MATH  Google Scholar 

  9. McCarthy, J.: Recursive functions of symbolic expressions and their computation by machine-i. Communication of the ACM 3(1), 184–195 (1960)

    Article  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Franz Baader

Rights and permissions

Reprints and permissions

Copyright information

© 2007 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Duval, D., Echahed, R., Prost, F. (2007). Adjunction for Garbage Collection with Application to Graph Rewriting. In: Baader, F. (eds) Term Rewriting and Applications. RTA 2007. Lecture Notes in Computer Science, vol 4533. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-73449-9_11

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-73449-9_11

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-73447-5

  • Online ISBN: 978-3-540-73449-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics