Hi,
Thanks Jerry for comments.
@PMC would you open a vote thread for JMeter 6 support JVM ? with Java
17 or Java 21 ?
Milamber
On 01/12/2023 19:11, Jerry Andrews wrote:
I am a member of the Java success team at Oracle, and a senior application
architect. I've been a JMeter user and advocate for a long time.
As a programmer, the benefits of going to Java 17 are obvious, I hope. Code is
easier to write, easier to read, and more efficient. The Java 8 Enterprise
Performance Pack provides Java 17 performance to Java 8 users, but is only
available to Java subscribers, who support the continued maintenance of Java 8
and other past-end-of-public-releases versions.
The long term support versions of Java are 8, 11, 17, and now 21. Java 11
public support ended in September 2023. Public support for Java 17 ends in
September of 2026.
I would strongly recommend that JMeter move to Java 17 or Java 21 immediately.
Furthermore, the new lightweight threads available in Java 21 would be a huge
performance boost to JMeter, so I strongly recommend that JMeter move to Java
21 as soon as practical after moving to Java 11. Running JMeter in a different
VM from the application under test should be no burden to users, and the
reduced cost in building a test environment due to improved thread efficiency
should well offset the increased effort in adding a VM specifically for running
JMeter.
I further suggest that, if bandwidth allows, that the team consider testing
JMeter on GraalVM, which has significant performance benefits over other VMs.
Getting JMeter to run in compiled form might also offer certain benefits in
terms of startup performance and repeatability (but we'd have to test that).
Jerry Andrews
Master Principal Java Success Consultant
Oracle Corporation
On Dec 1 2023, at 8:39 am, Milamber <milam...@apache.org> wrote:
Hi,
I agree to move from Java 8 to Java 17 directly because :
1/ that is an opportunity to have better code on better runtime (jvm) for JMeter
2/ Moving from 8 to 17 will add improvements from 8 to 17 include v11.
3/ I hope that the JMeter's ecosystem (jmeter-plugins, etc.) can move to 17,
for best plugins/add-on.
4/ I hope to have more contributor sfor JMeter core if using lasted LTS version
of Java.
@Vincent, I have display issues with VRT and Java 17 (17.0.9 from Oracle), see
screenshot.
Milamber
On 01/12/2023 13:39, Vincent Daburon wrote:
Hi,
The jdk11 had some issues when display text in view tree listener, it could be
very long to display a short text.
I am totally ok for jdk 17 LTS in new JMeter 6
Regards
Vincent Dab
Le 1 déc. 2023 à 12:03, Vladimir Sitnikov <sitnikov.vladi...@gmail.com>
(mailto:sitnikov.vladi...@gmail.com) a écrit :
Hi,
Previously, we discussed bumping Java requirements to 11, and there were no
complaints.
Now I suggest we consider requiring Java 17 instead.
I think it should not be a problem as Java 17 was released quite a while
ago, and the users should be able to upgrade the runtime.
Many users execute JMeter with Java 17+ already (e.g. due to security and
performance reasons),
and upgrading Java would probably fix many Swing problems.
Any thoughts on this?
Vladimir