RFR: SSLSocket HandshakeCompletedListeners are run on virtual threads
Carter Kozak
github.com+3854321+carterkozak at openjdk.java.net
Tue Sep 15 22:28:01 UTC 2020
On Tue, 15 Sep 2020 19:03:08 GMT, Carter Kozak <github.com+3854321+carterkozak at openjdk.org> wrote:
> Previously each `SSLSocket.addHandshakeCompletedListener(HandshakeCompletedListener)`
> resulted in a new OS thread for each handshake which causes spikes in
> resource utilization and bottlenecks in high throughput systems.
>
> Virtual threads should reduce the overhead while preserving behavior to
> the extent possible.
>
> Reported to openjdk security-dev here:
> https://mail.openjdk.java.net/pipermail/security-dev/2020-July/022220.html
However my OCA doesn't have github information. Should I submit an updated OCA with my github account info?
-------------
PR: https://git.openjdk.java.net/loom/pull/16
More information about the loom-dev
mailing list