[LLVMdev] llvm-java

Andrew Haley aph at redhat.com
Mon May 18 08:44:32 PDT 2009


Samuel Crow wrote:

>> From: Andre Tavares <andrelct at dcc.ufmg.br>

>> I'm working on a project to remove unnecessary array bound checks in 
>> Java. For this purpose I will need to use llvm-java.
>>
>> What is the state of llvm-java? Can someone explain how to build and use it?
>>
>> I saw some old emails on the list, and some about a SoC 2008 on Java, 
>> but I didn't find anything regarding its current state and documentation.

> LLVM-Java has been rendered obsolete by http://vmkit.llvm.org/ so look into using VMKit instead.

Also, if you can make the capability generic enough to use in Shark
(more at http://gbenson.net/) that would be very useful.

The key, I suspect, is to allow the Java front end mark an array.length
field in such a way that LLVM knows that field doesn't alias anything else
and is constant, so it can be hoisted out of loops.

Andrew.



More information about the llvm-dev mailing list