RFR: 8350705: [JMH] test security.SSLHandshake failed for 2 threads configuration
Sean Mullan
mullan at openjdk.org
Tue Apr 8 14:41:13 UTC 2025
On Mon, 24 Mar 2025 12:54:01 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:
> Update the SSLHandshake benchmark to enable running in multiple threads.
>
> This PR changes the scope of the state from per-benchmark to per-thread. The server SSLContext is still shared across all threads to simulate the scenario where multiple clients try to connect to the same server at the same time.
>
> Before the change, running this benchmark with `make test TEST=micro:SSLHandshake MICRO=OPTIONS="-t 3"` failed with an exception. After this change the benchmark completes successfully.
Looks good. The bug needs a `noreg` label.
-------------
Marked as reviewed by mullan (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/24195#pullrequestreview-2750250404
More information about the security-dev
mailing list