arrow
Return

Java runtime systems: Characterization and architectural implications

delete2001-01-01
delete38
PRE
AI
R
Ramesh Radhakrishnan
N
N. Vijaykrishnan
L
Lizy K. John
A
Anand Sivasubramaniam
J
J. Rubio
J
J. Sabarinathan
DOI:10.1109/12.908989delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
The Java Virtual Machine (JVM) is the cornerstone of Java technology and its efficiency in executing the portable Java bytecodes is crucial for the success of this technology. Interpretation, Just-in-Time (JIT) compilation, and hardware realization are well-known solutions for a JVM and previous research has proposed optimizations for each of these techniques. However, each technique has its pros and cons and may not be uniformly attractive for all hardware platforms, Instead, an understanding of the architectural implications of JVM implementations with real applications can be crucial to the development of enabling technologies for efficient Java runtime system development on a wide range of platforms. Toward this goal, this paper examines architectural issues from both the hardware and JVM implementation perspectives. The paper starts by identifying the important execution characteristics of Java applications from a bytecode perspective. It then explores the potential of a smart JIT compiler strategy that can dynamically interpret or compile based on associated costs and investigates the CPU and cache architectural support that would benefit JVM implementations. We also study the available parallelism during the different execution modes using applications from the SPECjvm98 benchmarks. At the bytecode level. it is observed that less than 45 out of the 256 bytecodes constitute 90 percent of the dynamic bytecode stream. Method sizes fall into a trinodal distribution with peaks of 1, 9, and 26 bytecodes across all benchmarks. The architectural issues explored in this study show that. when Java applications are executed with a JIT compiler, selective translation using good heuristics can improve performance, but the saving is only 10-15 percent at best. The instruction and data cache performance of Java applications are seen to be better than that of C/C++ applications except in the case of data cache performance in the JIT mode. Write misses resulting from installation of JIT compiler output dominate the misses and deteriorate the data cache performance in JIT mode. A study on the available parallelism shows that Java programs executed using JIT compilers have parallelism comparable to C/C++ programs for small window sizes, but falls behind when the window size is increased. Java programs executed using the interpreter have very little parallelism due to the stack nature of the JVM instruction set, which is dominant in the interpreted execution mode. In addition, this work gives revealing insights and architectural proposals for designing an efficient Java runtime system.
Keywords:
Java
Java bytecodes
CPU and cache architectures
ILP
performance evaluation
benchmarking
A predecoding technique for ILP exploitation in Java processors
err2008-07-01
err2
PREAI
errSideris, Isidoros; Pekmestzi, Kiamal; Economakos, George
errShare
errSave
Runtime monitoring for next generation Java ME platform
err2010-02-01
err9
errOAAI
errCosta, Gabriele; Martinelli, Fabio; Mori, Paolo; Schaefer, Christian; Walter, Thomas
errShare
errSave

Journal

IEEE Transactions on Computers cover
IEEE Transactions on Computers
IF:
3.8
Papers:
5.4K
Citations:
1.1W

Organization

No organization information available
Cited Papers

Cited Papers

Vacuolar functions determine the mode of cell death
err2009-03-01
err0
PREAI
errAlexandra Schauer; Heide Knauer; Christoph Ruckenstuhl; Heike Fussi; Michael Durchschlag; Ulrike Potocnik; Kai-Uwe Fröhlich
errShare
errSave
Increased prevalence of the Taq I A1allele of the dopamine receptor gene (DRD2) in obesity with comorbid substance use disorder: a preliminary report
err1996-08-01
err0
PREAI
errKenneth Blum; Eric R. Braverman; Robert C. Wood; James Gill; Christie Li; Thomas J.H. Chen; Mathew Taub; Ann R. Montgomery; Peter J. Sheridan; John G. Cull
errShare
errSave
Total duration of antimicrobial therapy in veterans hospitalized with uncomplicated pneumonia: Results of a national medication utilization evaluation
err2016-08-16
err0
errOAAI
errKarl J. Madaras‐Kelly; Muriel Burk; Christina Caplinger; Jefferson G. Bohan; Melinda M. Neuhauser; Matthew Bidwell Goetz; Rongping Zhang; Francesca E. Cunningham
errShare
errSave
errShare
errSave
Changes in heart rhythm power spectrum during human aging
err2013-07-01
err0
PREAI
errO. V. Korkushko; Valery B. Shatilo; J. K. Kaukenas
errShare
errSave
researcher View more