Affiliation:
1. University of Aarhus, Aarhus, Denmark
2. University of Copenhagen, Copenhagen, Denmark
3. INRIA/LaBRI, France
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 compilers fail to compensate for the use of object-oriented abstractions in the implementation of generic programs, and that program specialization can eliminate a significant portion of these overheads. We present an automatic program specializer for Java, illustrate its use through detailed case studies, and demonstrate experimentally that it can significantly reduce program execution time. Although automatic program specialization could be seen as being subsumed by existing optimizing compiler technology, we show that specialization and compiler optimization are in fact complementary.
Publisher
Association for Computing Machinery (ACM)
Cited by
63 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. PROMPT: A Fast and Extensible Memory Profiling Framework;Proceedings of the ACM on Programming Languages;2024-04-29
2. Schematic Program Proofs with Abstract Execution;Journal of Automated Reasoning;2024-03-26
3. Coverage-Based Debloating for Java Bytecode;ACM Transactions on Software Engineering and Methodology;2023-04-04
4. Symbolic Analysis for Data Plane Programs Specialization;ACM Transactions on Architecture and Code Optimization;2022-11-17
5. Studying and Understanding the Tradeoffs Between Generality and Reduction in Software Debloating;Proceedings of the 37th IEEE/ACM International Conference on Automated Software Engineering;2022-10-10