Implementing jalapeño in Java
Bowen Alpern, Clement R. Attanasio, Anthony Cocchi et al. · ACM SIGPLAN Conference on Object-Oriented Programming, Systems, Languages, and Applications (OOPSLA) · 1999
Jalape~no is a virtual machine for Java TM servers written in Java. A running Java program involves four layers of functionality: the user code, the virtual-machine, the operating system, and the hardware. By drawing the Java / non-Java boundary below the virtual machine rather than above it, Jalape~no reduces the boundary-crossing overhead and opens up more opportunities for optimization. To get Jalape~no started, a boot image of a working Jalape ~no virtual machine is concocted and written to a file. Later, this file can be loaded into memory and executed. Because the boot image consists entirely of Java objects, it can be concocted by a Java program that runs in any JVM. This program uses reflection to convert the boot image into Jalape~no's object format. A special Magic class allows unsafe casts and direct access to the hardware. Methods of this class are recognized by Jalape~no's three compilers, which ignore their bytecodes and emit special-purpose machine code. User code w...
Cited by 267 works. doi:10.1145/320384.320418
Authors
- Bowen Alpern
- Clement R. Attanasio
- Anthony Cocchi
- Derek Lieber
- Ton Ngo
- Susan Flynn Hummel
- Janice C. Sheperd
- Mark F. Mergen
References
- The Java Language Specification
- Garbage collection: algorithms for automatic dynamic memory management
- Back to the future
- The Jalapeño dynamic optimizing compiler for Java
- The Jalapeño virtual machine
- Thin locks
- Support for garbage collection at every instruction in a Java compiler
- A study of locking objects with bimodal fields
- Implementing a Java TM Virtual Machine in the Java Programming Language
- Dynamic linking on a shared-memory multiprocessor