RFR: SSLSocket HandshakeCompletedListeners are run on virtual threads

Vyom Tiwari vyommani at gmail.com
Wed Sep 16 10:42:36 UTC 2020


I have filed a similar issue (
https://bugs.openjdk.java.net/browse/JDK-8246039). you can use it for your
code review.
Vyom

On Wed, Sep 16, 2020 at 2:54 PM Carter Kozak <github.com+
3854321+carterkozak at openjdk.java.net> wrote:

> 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
>


-- 
Thanks,
Vyom


More information about the loom-dev mailing list