Optimizing direct threaded code by selective inlining

  • Authors:
  • Ian Piumarta;Fabio Riccardi

  • Affiliations:
  • INRIA Roquencourt, B.P. 105, 78153 Le Chesnay Cedex, France;INRIA Roquencourt, B.P. 105, 78153 Le Chesnay Cedex, France

  • Venue:
  • PLDI '98 Proceedings of the ACM SIGPLAN 1998 conference on Programming language design and implementation
  • Year:
  • 1998

Quantified Score

Hi-index 0.00

Visualization

Abstract

Achieving good performance in bytecoded language interpreters is difficult without sacrificing both simplicity and portability. This is due to the complexity of dynamic translation ("just-in-time compilation") of bytecodes into native code, which is the mechanism employed universally by high-performance interpreters.We demonstrate that a few simple techniques make it possible to create highly-portable dynamic translators that can attain as much as 70% the performance of optimized C for certain numerical computations. Translators based on such techniques can offer respectable performance without sacrificing either the simplicity or portability of much slower "pure" bytecode interpreters.