Re: native code produced by Java bytecode JIT compilers

apalanis@students.uwf.edu (Anand Palaniswamy)
10 Dec 1996 12:10:00 -0500

          From comp.compilers

Related articles
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 apalanis@students.uwf.edu (1996-12-10)
Re: native code produced by Java bytecode JIT compilers kuznetso@MIT.EDU (1996-12-15)
| List of all articles for this month |
From: apalanis@students.uwf.edu (Anand Palaniswamy)
Newsgroups: comp.compilers
Date: 10 Dec 1996 12:10:00 -0500
Organization: Compilers Central
References: 96-12-064
Keywords: Java

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.


Anand.
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.