Is there any plan supporting Java 21 and virtual thread?

Hi,
I am testing changing my application from Java 17 to Java 21 by using Virtual Thread.
Java 21 will be LTS, and Virtual Thread (JEP-444) is finalized at Java 21.

Since our production applications use Dynatrace Managed, need to be checked the support plan of the above technologies.

We plan to support Java 21 (w/out virtual threads) by October 2023. Hopefully sooner :wink:

Update: Java 21 is already supported by OneAgent - see: Support for JVMs — Dynatrace Docs

Wow, your response is very helpful for me.
Thank you.

Hi @Radoslaw_Szulgo in the support matrix of Dynatrace is Java 21 listed but I couldn’t find any infos about the support or not support of virtual threads. From the documentation someone could assume, that the are supported. Are they now?

Hi @Michael_M

Virtual threads should be supported.

However, it is worth it as @Radoslaw_Szulgo  will confirm.

Radek

My previous comment relates to OneAgent only.

If you ask about JRE 21 in Dynatrace Managed deployment - this will be done next year, hopefully. We’re now working on JRE 17.

@Radoslaw_Szulgothanks for your answer.

I was also talking about the OneAgent side or more the analysing side.
Is OneAgent currently able to see/analyze virutal threads? For me this is not clear from the documentation and in your comment you stated that virutal threads are not a part of this update.