Techniques for obtaining high performance in Java programs

  • Authors:
  • Iffat H. Kazi;Howard H. Chen;Berdenia Stanley;David J. Lilja

  • Affiliations:
  • Minnesota Supercomputing Institute, Univ. of Minnesota;Minnesota Supercomputing Institute, Univ. of Minnesota;Minnesota Supercomputing Institute, Univ. of Minnesota;Minnesota Supercomputing Institute, Univ. of Minnesota

  • Venue:
  • ACM Computing Surveys (CSUR)
  • Year:
  • 2000

Quantified Score

Hi-index 0.00

Visualization

Abstract

This survey describes research directions in techniques to improve the performance of programs written in the Java programming language. The standard technique for Java execution is interpretation, which provides for extensive portability of programs. A Java interpreter dynamically executes Java bytecodes, which comprise the instruction set of the Java Virtual Machine (JVM). Execution time performance of Java programs can be improved through compilation, possibly at the expense of portability. Various types of Java compilers have been proposed, including Just-In-Time (JIT) compilers that compile bytecode into native processor instructions on the fly; direct compilers that directly translate the Java source code into the target processor's native language; and bytecode-to-source translators that generate either native code or an intermediate language, such as C, from the bytecodes. Additional techniques, including bytecode optimization, dynamic compilation, and executing Java programs in parallel, attempt to improve Java run-time performance while maintaining Java's portability. Another alternative for executing Java programs is a Java processor that implements the JVM directly in hardware. In this survey, we discuss the basis features, and the advantages and disadvantages, of the various Java execution techniques. We also discuss the various Java benchmarks that are being used by the Java community for performance evaluation of the different techniques. Finally, we conclude with a comparison of the performance of the alternative Java execution techniques based on reported results.