Title :
Java bytecode to native code translation: the Caffeine prototype and preliminary results
Author :
Hsieh, Cheng-Hsueh A. ; Gyllenhaal, John C. ; Hwu, Wen-Mei W.
Author_Institution :
Center for Reliable & High Performance Comput., Illinois Univ., Urbana, IL, USA
Abstract :
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, programs in Java bytecode are expected to run without modification on multiple platforms. These first generation runtime environments rely on an interpreter to bridge the gap between the bytecode instructions and the native hardware. This interpreter approach is sufficient for specialized applications such as Internet browsers where application performance is often limited by network delays rather than processor speed. It is, however not sufficient for executing general applications distributed in Java bytecode. This paper presents our initial prototyping experience with Caffeine, an optimizing translator from Java bytecode to native machine code. We discuss the major technical issues involved in stack to register mapping, run-time memory structure mapping and exception handlers. Encouraging initial results based on our X86 port are presented
Keywords :
exception handling; optimising compilers; program interpreters; software prototyping; Caffeine prototype; Internet browsers; Java bytecode language; Java run-time environment; X86 port; exception handlers; interpreter; native code translation; optimizing translator; prototyping; register mapping; run-time memory structure mapping; software distribution standard; stack; Computational modeling; Intellectual property; Java; Protection; Prototypes; Registers; Runtime; Software performance; Software prototyping; Software standards;
Conference_Titel :
Microarchitecture, 1996. MICRO-29.Proceedings of the 29th Annual IEEE/ACM International Symposium on
Conference_Location :
Paris
Print_ISBN :
0-8186-7641-8
DOI :
10.1109/MICRO.1996.566453