Date: Fri, 9 Jun 2023 09:52:15 +0800
Subject: 8297656: AArch64: Enable AES/GCM Intrinsics

Bug url: https://bugs.openjdk.org/browse/JDK-8297656
---
 hotspot/src/cpu/aarch64/vm/vm_version_aarch64.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hotspot/src/cpu/aarch64/vm/vm_version_aarch64.cpp b/hotspot/src/cpu/aarch64/vm/vm_version_aarch64.cpp
index ff28cf939..27ab00dda 100644
--- a/hotspot/src/cpu/aarch64/vm/vm_version_aarch64.cpp
+++ b/hotspot/src/cpu/aarch64/vm/vm_version_aarch64.cpp
@@ -234,7 +234,7 @@ void VM_Version::get_processor_features() {
       UseAES = true;
     }
     if (FLAG_IS_DEFAULT(UseAESCTRIntrinsics)) {
-      FLAG_SET_DEFAULT(UseAESCTRIntrinsics, false);
+      FLAG_SET_DEFAULT(UseAESCTRIntrinsics, true);
     }
   } else {
     if (UseAES) {
-- 
2.22.0

