You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by Oleksandr Kachur <al...@gmail.com> on 2026/03/30 19:33:17 UTC

Java 21 migration and virtual threads: issue 6411

Hi community,

As described in  issue 6411
https://github.com/apache/jmeter/issues/6411
 virtual threads are supported in Java 21 and enabling them will unlock
substantial part of Jmeter performance.

i’ve vibecoded implementation that takes into consideration changed lock
model and replaces synchronization blocks with ReentrantLocks:
https://github.com/apache/jmeter/pull/6685

We’re still using Jmeter and would like to make it better and less obsolete
in comparison to modern load testing tools so please approve or at least
have discussion how to progress further.

Best regards,
Oleksandr Kachur

Re: Java 21 migration and virtual threads: issue 6411

Posted by Vladimir Sitnikov <si...@gmail.com>.
Hi,

Please review AI-generated code before filing PRs. If you are not willing
to review code, file issues instead.

> virtual threads are supported in Java 21 and enabling them will unlock substantial
part of Jmeter performance.

Could you please clarify why virtual threads would help for JMeter?

Please clarify how you can tell the improvement comes from virtual threads.

Vladimir