Profile-guided optimization across process boundaries

  • Authors:
  • Erik Johansson;Sven-Olof Nyström

  • Affiliations:
  • Computing Science, Department of Information Technology, Uppsala University, Box 311,751 05 Uppsala, Sweden;Computing Science, Department of Information Technology, Uppsala University, Box 311,751 05 Uppsala, Sweden

  • Venue:
  • DYNAMO '00 Proceedings of the ACM SIGPLAN workshop on Dynamic and adaptive compilation and optimization
  • Year:
  • 2000

Quantified Score

Hi-index 0.00

Visualization

Abstract

We describe a profile-driven compiler optimization technique for inter-process optimization, which dynamically inlines the effects of sending messages. Profiling is used to find optimization opportunities, and to dynamically trigger recompilation and optimization at run-time. We apply the optimization technique on the concurrent programming language ERLANG, letting recompilation take place in a separate ERLANG process, and taking advantage of the facilities provided by ERLANG to dynamically replace code at run-time. We have implemented a prototype inter-process profiler and optimizer, that can handle small programs. Measurements on synthetic benchmarks show encouraging speedups of up to 1.8 times.