Automatic Program Specialization for Java

Authors

  • Ulrik Pagh Schultz
  • Charles Consel

DOI:

https://doi.org/10.7146/dpb.v29i551.7104

Abstract

The object-oriented style of programming facilitates program adaptation and enhances program genericness, but at the expense of efficiency. We demonstrate experimentally that state-of-the-art Java compilation technology fails to compensate for the use of object-oriented abstractions to implement generic programs, and that program specialization can be used to eliminate these overheads. We present an automatic program specializer for Java, and demonstrate experimentally that significant speedups in program execution time can be obtained through automatic specialization. Although automatic program specialization could be seen as overlapping with existing optimizer compiler technology, we show that specialization and compiler optimization are in fact complementary.

Author Biographies

Ulrik Pagh Schultz

Charles Consel

Downloads

Published

2000-11-01

How to Cite

Schultz, U. P., & Consel, C. (2000). Automatic Program Specialization for Java. DAIMI Report Series, 29(551). https://doi.org/10.7146/dpb.v29i551.7104