Picking apart JIT

2000-02-29 Thread Aaron Van Couwenberghe


Greetings everyone -

  I've recently been trying to pick apart the internal workings of Kaffe's
JIT (to gain an understanding) and have been having a bit of trouble. My
main question is this: which function (in which file) is the highest level
in JIT? What is responsible for taking a block of bytecode and converting it
to native?

  I also have a side question. Does Kaffe's JNI utilize JIT to eliminate
marshalling? In other words, are the VM and the native call all in the same
address space (collocated) ?

-- 
..Aaron Van Couwenberghe... [EMAIL PROTECTED] [EMAIL PROTECTED]
Berlin: http://www.berlin-consortium.org
Debian GNU/Linux:   http://www.debian.org

A witty saying proves nothing.
-- Voltaire
 



Re: Picking apart JIT

2000-02-29 Thread Samuel Sanseri



Aaron,

I have posted a document called "Trampolines in the Kaffe JIT Compiler"
which you may find useful.  I also spent a long time trying to understand
the JIT.  This document is part of the fruit of that effort.  You'll find
it at http://www.cs.pdx.edu/~sanseri/kaffe/k2.html.

This document has an appendix which traces a portion of the call tree 
for invocation of Kaffe.  The tree includes file names and function names
as well as a brief description of what the function is doing. 

Samuel Sanseri
[EMAIL PROTECTED]

> 
> 
> Greetings everyone -
> 
>   I've recently been trying to pick apart the internal workings of Kaffe's
> JIT (to gain an understanding) and have been having a bit of trouble. My
> main question is this: which function (in which file) is the highest level
> in JIT? What is responsible for taking a block of bytecode and converting it
> to native?
> 
>   I also have a side question. Does Kaffe's JNI utilize JIT to eliminate
> marshalling? In other words, are the VM and the native call all in the same
> address space (collocated) ?
> 
> -- 
> ..Aaron Van Couwenberghe... [EMAIL PROTECTED] [EMAIL PROTECTED]
>   Berlin: http://www.berlin-consortium.org
>   Debian GNU/Linux:   http://www.debian.org
> 
> A witty saying proves nothing.
> -- Voltaire
>  
>