• DocumentCode
    3221677
  • Title

    Heap analysis and optimizations for threaded programs

  • Author

    Tang, Xinan ; Ghiya, Rakesh ; Hendren, Laurie J. ; Gao, Guang R.

  • Author_Institution
    Sch. of Comput. Sci., McGill Univ., Montreal, Que., Canada
  • fYear
    1997
  • fDate
    10-14 Nov 1997
  • Firstpage
    14
  • Lastpage
    25
  • Abstract
    Traditional compiler optimizations such as loop invariant removal and common sub-expression elimination are standard in all optimizing compilers. The purpose of the paper is to present new versions of these optimizations that apply to programs using dynamically allocated data structures, and to show the effect of these optimizations on the performance of multithreaded programs. We show how heap pointer analyses can be used to support better dependence testing, new applications of the above traditional optimizations, and high quality code generation for multithreaded architectures. We have implemented these analyses and optimizations in the EARTH-C compiler to study their impact on the performance of generated multithreaded code. We provide both static and dynamic measurements showing the effect of the optimizations applied individually, and together. We note several general trends, and discuss the performance tradeoffs and suggest when specific optimizations are generally beneficial
  • Keywords
    data structures; multiprogramming; optimising compilers; parallel programming; program control structures; resource allocation; storage allocation; EARTH-C compiler; common sub-expression elimination; dependence testing; dynamic measurements; dynamically allocated data structures; generated multithreaded code; heap analysis; heap pointer analyses; high quality code generation; loop invariant removal; multithreaded architectures; multithreaded programs; optimizations; optimizing compilers; performance tradeoffs; threaded programs; traditional compiler optimizations; Communication system control; Data analysis; Guidelines; Joining processes; Load management; Multithreading; Parallel architectures; Programming profession; Scheduling; Yarn;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Parallel Architectures and Compilation Techniques., 1997. Proceedings., 1997 International Conference on
  • Conference_Location
    San Francisco, CA
  • Print_ISBN
    0-8186-8090-3
  • Type

    conf

  • DOI
    10.1109/PACT.1997.644000
  • Filename
    644000