22 Aug 2023
09:48 AM
- last edited on
14 Nov 2023
12:11 PM
by
Ana_Kuzmenchuk
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.
Solved! Go to Solution.
We plan to support Java 21 (w/out virtual threads) by October 2023. Hopefully sooner 😉
Update: Java 21 is already supported by OneAgent - see: https://docs.dynatrace.com/docs/shortlink/jvms#oracle-hotspot-vm
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.