An easy-to-use toolkit for efficient Java bytecode translators

  • Authors:
  • Shigeru Chiba;Muga Nishizawa

  • Affiliations:
  • Dept. of Mathematical and Computing Sciences, Tokyo Institute of Technology;Dept. of Mathematical and Computing Sciences, Tokyo Institute of Technology

  • Venue:
  • Proceedings of the 2nd international conference on Generative programming and component engineering
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper presents our toolkit for developing a Java-bytecode translator. Bytecode translation is getting important in various domains such as generative programming and aspect-oriented programming. To help the users easily develop a translator, the design of our toolkit is based on the reflective architecture. However, the previous implementations of this architecture involved serious runtime penalties. To address this problem, our toolkit uses a custom compiler so that the runtime penalties are minimized. Since the previous version of our toolkit named Javassist has been presented in another paper, this paper focuses on this new compiler support for performance improvement. This feature was not included in the previous version.