RFR [13] JDK-8221882: Use fiber-friendly java.util.concurrent.locks in JSSE
Xuelei Fan
xuelei.fan at oracle.com
Wed Apr 3 03:12:00 UTC 2019
Hi,
Could I get the following update reviewed?
http://cr.openjdk.java.net/~xuelei/8221882/webrev.00/
To benefits from with Fibers [1], there is a need to use explicit locks,
java.util.concurrent.locks, for synchronization in JSSE and the SunJSSE
provider.
Most of the update is replacing synchronized blocks with
java.util.concurrent.locks.ReentrantLock locking/unlocking.
Thanks,
Xuelei
[1]: http://cr.openjdk.java.net/~rpressler/loom/Loom-Proposal.html
More information about the security-dev
mailing list