-
Bug
-
Resolution: Fixed
-
P3
-
None
-
b18
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8277655 | 15.0.6 | Paul Hohensee | P3 | Resolved | Fixed | b03 |
SPECjvm2008 crypto.rsa shows poor scalability with multiple threads. The blinding classes have many synchronized sections that cause performance blocks. WeakHashMap is not thread safe, but using it along with a concurrent queue, which allow multiple blinding objects to be used frees up the code.
When setting up the queue, overwriting is not a big issue. It may costing a few extra CPU cycles by creating two queues and an extra blinding object. But once that queue is established the queue is much faster not having a synchronize block.
When setting up the queue, overwriting is not a big issue. It may costing a few extra CPU cycles by creating two queues and an extra blinding object. But once that queue is established the queue is much faster not having a synchronize block.
- backported by
-
JDK-8277655 Reducing locks in RSA Blinding
-
- Resolved
-
- relates to
-
JDK-8080273 JCA Signature provider service loading bottlenecks
-
- Closed
-
- links to
-
Commit openjdk/jdk15u-dev/de7f1922
-
Commit openjdk/jdk/7a99a987
-
Review openjdk/jdk11u-dev/473
-
Review openjdk/jdk15u-dev/142
-
Review openjdk/jdk/3296
(2 links to)