Java SHA256 slow

139 views
Skip to first unread message

Nat

unread,
Feb 20, 2018, 1:57:09 PM2/20/18
to mechanical-sympathy
I noticed that in a complex code path, SHA256 calculation seems to be much slower than usual. When testing in a short code, I can get over 200MB/s. However, in production, it can only perform less than 100MB/s. What could be the cause of that? I have seen some reported before in JDK7 with code cache being full and the problem should have been addressed in JDK8 (https://bugs.openjdk.java.net/browse/JDK-8023983) but since I use JDK 1.8.0_162 I should not be affected by that.
Reply all
Reply to author
Forward
0 new messages