skywalking icon indicating copy to clipboard operation
skywalking copied to clipboard

[Feature] Upgrade to JDK/JVM25 to adopt ZGC and VirtualThread

Open wu-sheng opened this issue 4 months ago • 3 comments

Search before asking

  • [x] I had searched in the issues and found no similar feature requirement.

Description

With the recent 10.3 update, we have optimized the thread pool performance a lot -- from 800 threads to ~150 threads.

Image

Use case

With JDK/JRE21 new features, virtual thread and ZGC have potential advantages to optimize OAP performance. We should be able to consider that.

Related issues

No response

Are you willing to submit a pull request to implement this on your own?

  • [ ] Yes I am willing to submit a pull request on my own!

Code of Conduct

wu-sheng avatar Sep 01 '25 09:09 wu-sheng

@wankai123 I just checked the JDK LTS plan, JDK 21 and 25 are LTS. We should consider these.

wu-sheng avatar Nov 30 '25 20:11 wu-sheng

Will the java agent support these LTS versions?

peachisai avatar Dec 07 '25 12:12 peachisai

This proposal is mostly around adopting virtual thread of newer JDK. Agent should support new versions, do you have plan to work on that?

wu-sheng avatar Dec 07 '25 20:12 wu-sheng