Hello,
TestNG supports the 2 last LTS.
As JDK21 was just released weeks ago, the support of JDK <17 will be dropped soon.
Once saying that it will take years before JDK21 and its virtual threads will be the base JDK.
Alternatively, it could be possible to write an extension for thread management using virtual threads instead of thread pools.
I just don't know If the current SPI allows this kind of replacement.