|native code produced by Java bytecode JIT compilers jhummel@crispix.ICS.UCI.EDU (Joe Hummel) (1996-12-07)|
|Re: native code produced by Java bytecode JIT compilers email@example.com (1996-12-10)|
|Re: native code produced by Java bytecode JIT compilers kuznetso@MIT.EDU (1996-12-15)|
|From:||firstname.lastname@example.org (Anand Palaniswamy)|
|Date:||10 Dec 1996 12:10:00 -0500|
Joe Hummel <jhummel@crispix.ICS.UCI.EDU> writes:
> I was hoping for an easier way, e.g. that JIT compilers cache
> their results in some standard place, or perhaps there is a Java
> API for getting at the native code.
Short answer: no.
The document you want to see is "The Java Native Code API" by Frank
Yellin (see http://www.javasoft.com, look for documentation index).
This document defines the C interfaces that must be supported by a JIT
compiler that will "integrate" with the Sun implementation of the Java
Virtual Machine. I just checked this document and there is no
interface to "ask for" JIT-ted (argh) code --- the result of a design
choice I would presume: looks like Sun wants to keep the VM and the
JIT compiler as two distinct components that interact with each other
through the interfaces defined in this document.
Return to the
Search the comp.compilers archives again.