[9] RFR(L) 8166415: Integrate AOT tool JAOTC

Paul Sandoz paul.sandoz at oracle.com
Thu Oct 27 20:56:14 UTC 2016


Hi Vladimir,

I think we should adjust to depend on the internal Unsafe and update the java.base module to export qualified to jdk.aot (like that for jdk.vm.compiler). It could easily be done later rather than now, if so I can log an issue.

Paul.

> On 26 Oct 2016, at 18:01, Vladimir Kozlov <vladimir.kozlov at oracle.com> wrote:
> 
> AOT JEP:
> https://bugs.openjdk.java.net/browse/JDK-8166089
> Subtask:
> https://bugs.openjdk.java.net/browse/JDK-8166415
> Webrev:
> http://cr.openjdk.java.net/~kvn/aot/jaotc.webrev/
> 
> Please, review implementation of jaotc - Java Ahead-Of-Time static compiler. It produces native code for compiled java methods. It uses Graal as the code-generating backend and libelf for generating shared .so AOT libraries. It is written mostly in java. Code interface to libelf is written in C.
> 
> Only Linux/x64 platform is supported. 'jaotc' and AOT part of Hotspot will be build only on Linux/x64.
> 
> Corresponding build changes are reviewed in a separate thread for https://bugs.openjdk.java.net/browse/JDK-8166416
> 
> http://cr.openjdk.java.net/~kvn/aot/top.webrev/
> http://cr.openjdk.java.net/~kvn/aot/jdk.webrev/
> http://cr.openjdk.java.net/~kvn/aot/hs.make.webrev/
> 
> Thanks,
> Vladimir



More information about the hotspot-dev mailing list