[9] RFR(L) 8166415: Integrate AOT tool JAOTC
Christian Thalinger
cthalinger at twitter.com
Thu Oct 27 18:07:36 UTC 2016
> On Oct 26, 2016, at 3:01 PM, 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/
I always planned on moving the tool into another package than com.oracle.graal.aot before integrating. com.oracle.graal.aot suggests that it is part of Graal but it’s just an application that is using Graal.
I think we should follow what javac has: com.sun.tools.javac
So, maybe com.oracle.tools.jaotc.
>
> Thanks,
> Vladimir
More information about the hotspot-dev
mailing list