Exploiting reachability and cardinality in higher-order flow analysis

Academic Article

Abstract

  • We present two complementary improvements for abstract-interpretation-based flow analysis of higher-order languages: (1) abstract garbage collection and (2) abstract counting. Abstract garbage collection is an analog to its concrete counterpart: the analysis determines when an abstract resource has become unreachable, and then, re-allocates it as fresh. This prevents flow sets from joining during abstract interpretation, which has two immediate effects: (1) the precision of the interpretation increases and (2) its running time often falls. In abstract counting, the analysis tracks how many times an abstract resource has been allocated. A count of one implies that the abstract resource momentarily represents only one concrete resource. This knowledge, in turn, drives environment analysis, expanding the kind (rather than just the degree) of optimization available to the compiler. © 2008 Cambridge University Press.
  • Authors

    Published In

    Digital Object Identifier (doi)

    Pubmed Id

  • 26586019
  • Author List

  • Might M; Shivers O
  • Start Page

  • 821
  • End Page

  • 864
  • Volume

  • 18
  • Issue

  • 5-6