• Home
  • Search
  • Java runtime systems: characterization and architectural implications
  • Cite Icon78
  • https://doi.org/10.1109/12.908989Copy DOI Icon

Java runtime systems: characterization and architectural implications

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

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 5 out of the 256 bytecodes constitute 90 percent of the dynamic bytecode stream. Method sizes fall into a trinodal distribution with peak 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/sub +/+ 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 SVM 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.

Similar Papers
  • Conference Article
  • Citations100

LaTTe: a Java VM just-in-time compiler with fast and efficient register allocation

  • Oct 12, 1999
  • Byungsun Yang +9
  • Conference Article
  • Citations3

Building Java program analysis tools using Javana

  • Oct 22, 2006
  • Dries Buytaert +3
  • Conference Article
  • Citations2

Just-In-Time Java? Compilation for the Itanium® Processor

  • Sep 22, 2002
  • Tatiana Shpeisman +2
  • Research Article
  • Citations8

AOT vs. JIT: impact of profile data on code quality

  • Jun 21, 2017
  • ACM SIGPLAN Notices
  • April W Wade +2
  • Conference Article
  • Citations165

Practicing JUDO

  • May 01, 2000
  • Michał Cierniak +2
  • Research Article
  • Citations10

Practicing JUDO

  • May 01, 2000
  • ACM SIGPLAN Notices
  • Michał Cierniak +2
  • Single Report

Composability, Provability, Reusability (CPR) for Survivability

  • Apr 01, 2002
  • Allen Goldberg
  • Research Article
  • Citations2

HYBRID JAVA COMPILATION OF JUST-IN-TIME AND AHEAD-OF TIME FOR EMBEDDED SYSTEMS

  • Apr 01, 2012
  • Journal of Circuits, Systems and Computers
  • Hyeong-Seok Oh +2
  • Conference Article
  • Citations4

JDMM

  • Jun 12, 2014
  • Foivos S Zakkak +1
  • Conference Article
  • Citations47

Generalized just-in-time trace compilation using a parallel task farm in a dynamic binary translator

  • Jun 04, 2011
  • Igor Böhm +4
  • Book Chapter

Protecting dynamic code

  • Mar 01, 2018
  • Gang Tan +1
  • PDF
  • Research Article
  • Citations7

Динамическая компиляция выражений в SQL-запросах для СУБД PostgreSQL

  • Jan 01, 2016
  • Proceedings of the Institute for System Programming of the RAS
  • E.Y Sharygin +4
  • Conference Article
  • Citations43

The Devil is in the Constants: Bypassing Defenses in Browser JIT Engines

  • Jan 01, 2015
  • Michalis Athanasakis +4
  • Conference Article
  • Citations34

Improving Java performance using hardware translation

  • Jun 17, 2001
  • Ramesh Radhakrishnan +2
  • Conference Article
  • Citations17

Briki: an optimizing Java compiler

  • Feb 23, 1997
  • M Cierniak +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.