[LLVMdev] LLVM-based JVM JIT for libgcj

Chris Lattner sabre at nondot.org
Tue Apr 18 11:38:31 PDT 2006


On Tue, 18 Apr 2006, Tom Tromey wrote:
> I recently wrote an LLVM-based JIT plugin for libgcj and I thought
> it'd be worthwhile to mention it here.

Cool!

> Exception handling definitely does not work, I didn't even try to
> implement it yet.  I've been thinking about having some kind of simple
> bridge between the LLVM and GCC worlds here -- very inefficient, but
> at least I could get it working rather quickly.  Long term I'm hoping
> someone else will be solving this problem... :-)

If I had to speculate, I would guess that LLVM will support dwarf-2 style 
zero cost exceptions in the next 2-3 months.

> FWIW I actually did this work twice, once for libjit and once for
> LLVM.  I'm happy to provide a comparison, from a jit-writing
> perspective, if you're interested.

Given your experience with both, I'd be very interested in any thoughts 
you have on how we can make LLVM better. :)

> Thanks for writing LLVM.  It is awesome to be able to add a JIT to
> libgcj this easily.

:)

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/




More information about the llvm-dev mailing list