RFR: 8246039: SSLSocket HandshakeCompletedListeners are run on virtual threads [v2]
Carter Kozak
github.com+3854321+carterkozak at openjdk.java.net
Wed Sep 16 16:06:37 UTC 2020
> 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
Carter Kozak has updated the pull request with a new target base due to a merge or a rebase. The pull request now
contains one commit:
8246039: SSLSocket HandshakeCompletedListeners are run on virtual threads
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
-------------
Changes: https://git.openjdk.java.net/loom/pull/16/files
Webrev: https://webrevs.openjdk.java.net/?repo=loom&pr=16&range=01
Stats: 7 lines in 1 file changed: 0 ins; 2 del; 5 mod
Patch: https://git.openjdk.java.net/loom/pull/16.diff
Fetch: git fetch https://git.openjdk.java.net/loom pull/16/head:pull/16
PR: https://git.openjdk.java.net/loom/pull/16
More information about the loom-dev
mailing list