SHA3Intrinsics is not enabled in sha3 CPUs other than apple or qualcomm due to poor performance.
But they can be manually enabled using -XX:+UseSHA3Intrinsics.
Example - In AmpereOne, sha3 is supported but SHA3Intrinsics is not enabled due to poor performance.
Running the following command, we see that UseSHA3Intrinsics can be manually set to true.
java -XX:+UnlockDiagnosticVMOptions -XX:+UseSHA3Intrinsics -XX:+PrintFlagsFinal -version | grep UseSHA3Intrinsics
bool UseSHA3Intrinsics = true {diagnostic} {command line}
But they can be manually enabled using -XX:+UseSHA3Intrinsics.
Example - In AmpereOne, sha3 is supported but SHA3Intrinsics is not enabled due to poor performance.
Running the following command, we see that UseSHA3Intrinsics can be manually set to true.
java -XX:+UnlockDiagnosticVMOptions -XX:+UseSHA3Intrinsics -XX:+PrintFlagsFinal -version | grep UseSHA3Intrinsics
bool UseSHA3Intrinsics = true {diagnostic} {command line}
- caused by
-
JDK-8297092 [macos_aarch64] Add support for SHA feature detection
-
- Resolved
-