Integrated: 8350705: [JMH] test security.SSLHandshake failed for 2 threads configuration
Daniel Jeliński
djelinski at openjdk.org
Tue Apr 8 15:22:31 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.
This pull request has now been integrated.
Changeset: 58ff36f3
Author: Daniel Jeliński <djelinski at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/58ff36f3bdefe2e883dc871a4e7fcaa81e8eef5b
Stats: 33 lines in 1 file changed: 20 ins; 6 del; 7 mod
8350705: [JMH] test security.SSLHandshake failed for 2 threads configuration
Reviewed-by: hchao, mullan
-------------
PR: https://git.openjdk.org/jdk/pull/24195
More information about the security-dev
mailing list