简体   繁体   中英

Is AOT compilation supported in JDK10?

From JEP-295 , it states:

AOT compilation of any JDK modules, classes, or of user code, is experimental and not supported in JDK 9.

I cannot find anything about Java 10.

Is AOT compilation (jaotc) supported in JDK10?

Note: Ahead-of-Time (AOT) compilation is an experimental feature and is supported only on Linux-x64.

JDK 10 Documentation, Java Platform, Standard Edition Java Virtual Machine Guide

Maybe I'm missing something but as far as I can tell when you install JDK 10.0.1 for windows 64 you will get the jaotc.exe as part of the JDK installation. That doesn't seem to match the other answers. Feel free to correct me

The AOT feature is not part of the Java 10 release notes . It is also not listet in the Java 10 documentation. So AOT is not a official part of Java 10.

The jaotc tool was only a part of the Linux release of Java 9. In Java 10 it is also a part of the MacOS release.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM