--- old/make/autoconf/hotspot.m4 2018-03-23 16:35:41.474399256 +0000 +++ new/make/autoconf/hotspot.m4 2018-03-23 16:35:40.884457589 +0000 @@ -212,7 +212,7 @@ if test "x$ENABLE_AOT" = "xtrue"; then # Only enable AOT on X64 platforms. - if test "x$OPENJDK_TARGET_CPU" = "xx86_64"; then + if test "x$OPENJDK_TARGET_CPU" = "xx86_64" || test "x$OPENJDK_TARGET_CPU" = "xaarch64" ; then if test -e "${TOPDIR}/src/jdk.aot"; then if test -e "${TOPDIR}/src/jdk.internal.vm.compiler"; then ENABLE_AOT="true"