Usage:
The option “-XX:[+|-]UseSHA” enables hardware-based intrinsics for SHA crypto hash functions for SPARC hardware.
Since:
Starting from JDK 8.
Syntax:
java -XX:[+|-]UseSHA MainClass
Example:
- To enable all hardware-based SHA intrinsics: java -XX:+UseSHA MainClass
- To disable all hardware-based SHA intrinsics: java -XX:-UseSHA MainClass
Description:
The SHA (Secure Hash Algorithm) is a family of cryptographic hash functions, including: SHA-0, SHA-1, SHA-2 and SHA-3. They are designed to secure data by transforming the original data using a hash function which is an algorithm that consists of compression functions, modular additions and bitwise operations.
This option controls whether SHA instructions can be used on SPARC and it’s used in conjunction with the UseSHA1Intrinsics, UseSHA256Intrinsics, and UseSHA512Intrinsics options. It’s supported only for Java HotSpot Server VM 64-bit on SPARC T4 and newer.
Default Value:
This option is enabled by default.
Errors:
None.
Arguments related:
UseSHA1Intrinsics, UseSHA256Intrinsics, and UseSHA512Intrinsics.
Related Posts:
Edit your Comment