Study of the cache and branch performance issues with running Java on current hardware platforms

Cheng Hseueh A. Hsieh, Marie T. Conte, Teresa L. Johnson, John C. Gyllenhaal, Wen mei W. Hwu

Research output: Contribution to conferencePaperpeer-review


The Java bytecode language is emerging as a software distribution standard. With major vendors committed to porting the Java run-time environment to their platforms, Java bytecode programs are expected to run without modification on multiple platforms. These first generation run-time environments rely on an interpreter to bridge the gap between the bytecode instructions and the native hardware. However, Java interpreters cause performance problems with microarchitectural features such as the caches and the Branch Target Buffer. Some of these problems can be solved by translating Java bytecode to native code. In this paper we compare the performance of code run through the SUN Java interpreter to code compiled through Caffeine, a bytecode to native code translator, as well as to compiled C/C++ versions of the code, using large applications and common benchmarks. We discuss the reasons for several performance problems incurred by both approaches to running Java code, and examine possible solutions.

Original languageEnglish (US)
Number of pages6
StatePublished - 1997
EventProceedings of the 1997 IEEE COMPCON Conference - San Jose, CA, USA
Duration: Feb 23 1997Feb 26 1997


OtherProceedings of the 1997 IEEE COMPCON Conference
CitySan Jose, CA, USA

ASJC Scopus subject areas

  • Hardware and Architecture


Dive into the research topics of 'Study of the cache and branch performance issues with running Java on current hardware platforms'. Together they form a unique fingerprint.

Cite this