Integrated: 8255914: [AOT] Using AOT flag should give warning when AOT is not included in build
Vladimir Kozlov
kvn at openjdk.java.net
Thu Nov 5 17:21:59 UTC 2020
On Thu, 5 Nov 2020 04:21:01 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
> Currently if AOT feature is not included in a build AOT flags specified on command line are silently ignored:
> $ java -XX:+UnlockExperimentalVMOptions -XX:+UseAOT -version
> java version "16-internal" 2021-03-16
>
> It should give warning:
>
> $ java -XX:+UnlockExperimentalVMOptions -XX:+UseAOT -version
> Java HotSpot(TM) 64-Bit Server VM warning: -XX:+UseAOT not supported in this VM
> java version "16-internal" 2021-03-16
This pull request has now been integrated.
Changeset: 1b59595e
Author: Vladimir Kozlov <kvn at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/1b59595e
Stats: 28 lines in 2 files changed: 28 ins; 0 del; 0 mod
8255914: [AOT] Using AOT flag should give warning when AOT is not included in build
Reviewed-by: dholmes, iveresov
-------------
PR: https://git.openjdk.java.net/jdk/pull/1071
More information about the hotspot-compiler-dev
mailing list