简体   繁体   English

JDK10是否支持AOT编译?

[英]Is AOT compilation supported in JDK10?

From JEP-295 , it states: JEP-295 ,它指出:

AOT compilation of any JDK modules, classes, or of user code, is experimental and not supported in JDK 9. 任何JDK模块,类或用户代码的AOT编译都是实验性的,在JDK 9中不受支持。

I cannot find anything about Java 10. 我找不到任何关于Java 10的东西。

Is AOT compilation (jaotc) supported in JDK10? JDK10是否支持AOT编译(jaotc)?

Note: Ahead-of-Time (AOT) compilation is an experimental feature and is supported only on Linux-x64. 注意:Ahead-of-Time(AOT)编译是一项实验性功能,仅在Linux-x64上受支持。

JDK 10 Documentation, Java Platform, Standard Edition Java Virtual Machine Guide JDK 10文档,Java平台,标准版Java虚拟机指南

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. 也许我遗漏了一些东西,但据我所知,当您为Windows 64安装JDK 10.0.1 ,您将获得jaotc.exe作为JDK安装的一部分。 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 . AOT功能不是Java 10发行说明的一部分 It is also not listet in the Java 10 documentation. 它也没有在Java 10文档中进行过处理。 So AOT is not a official part of Java 10. 所以AOT不是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. jaotc工具只是Java 9 Linux发行版的一部分。在Java 10中,它也是MacOS发行版的一部分。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 jdk10 中放置外部 jar 的位置 - Where to put external jars in jdk10 spring 启动:从 jdk1.8 迁移到 jdk10 后出现错误消息“不支持请求方法 'POST'” - spring boot: error message "Request method 'POST' not supported" after migration from jdk1.8 to jdk10 三元运算符在 JDK8 和 JDK10 上的行为差异 - Difference in behaviour of the ternary operator on JDK8 and JDK10 无法在Javadoc注释中链接到JDK10 - Can't link to JDK10 in Javadoc comments Intellij IDEA 2018.1 Jdk10 无法运行测试 - Intellij IDEA 2018.1 Jdk10 cannot run test Nashorn在JDK10中的Java.type()异常行为 - Nashorn in JDK10 Java.type() strange behavior Eclipse不支持使用JDK10的动态Web项目 - Eclipse not supporting for dynamic web project using jdk10 从 jdk10 迁移到 jdk11:SSLConnection:CKR_KEY_TYPE_INCONSISTENT - migrating from jdk10 to jdk11 : SSLConnection : CKR_KEY_TYPE_INCONSISTENT 使用JDK10 SDK的IntelliJ无法编译1.8目标的maven项目 - IntelliJ with JDK10 SDK doesn't compile maven project with 1.8 target JDK10:找不到@SpringBootConfiguration,您需要在测试中使用@ContextConfiguration或@SpringBootTest(classes =…) - JDK10: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=…) with your test
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM