Java 8 ByteCodes to LLVM IR

Ivan Krylov ivan at azulsystems.com
Mon Dec 21 10:03:17 UTC 2015


Hi Bahram,

Yes, it has been done a few times by now. Shark is a good starting 
point. The main difficulty is not the translation into IR itself
but interaction of the LLVM-compiled code with the Runtime and the 
Garbage Collectors. But if in the scope of your research project
if you can live without GC and do a few other simplifications, than it 
should not be hard. And, yes, java8 bytecodes are not different
from java7 bytecodes since the last new bytecode being added was "invoke 
dynamic" back in 2011.

Thanks,

Ivan


On 21/12/2015 11:29, Bahram Yarahmadi wrote:
> Hello dudes
> I am currently involved in research project and I want to convert Java 
> Bytecode to LLVM IR as a first step of my research project
>
> Does Shark and zero project have the ability to convert Java bytecode 
> to LLVM IR by any chance?
> Is it possible for me to do it with your tool ?(at least with a little 
> modification)
>
>
> Thanks alot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/zero-dev/attachments/20151221/15eacd9b/attachment.html>


More information about the zero-dev mailing list