The Amazon Corretto Crypto Provider (ACPP) provides drop-in replacement, performance enhanced versions of crypto algorithms for Java. Despite it's name, it'll work with any JVM implementation that supports Java Cryptography Architecture (JCA).
I haven't been able to find many benchmarks, but this 2019 AWS re:Invent presentation shows some pretty dramatic improvements. The last measured profile shows SHA1 taking only 16% of the time, but saving half of that would be a non-trivial savings for such a large computing job.