The jcmd commands added by JDK-8337199 trigger initialization, i.e.
jcmd Thread.vthread_scheduler causes the default scheduler, timer queues, and the unblocker for object monitors to be initialized if the command is used and the target VM isn't using virtual threads.
jcmd Thread.vthread_poller causes the I/O poller mechanism to be initialized when the target VM isn't using virtual threads that do socket I/O.
The initial version of these commands was implemented to not cause initialization but that was removed as part of splitting up the commands and getting agreement on what to include in main line. We should re-visit this.
jcmd Thread.vthread_scheduler causes the default scheduler, timer queues, and the unblocker for object monitors to be initialized if the command is used and the target VM isn't using virtual threads.
jcmd Thread.vthread_poller causes the I/O poller mechanism to be initialized when the target VM isn't using virtual threads that do socket I/O.
The initial version of these commands was implemented to not cause initialization but that was removed as part of splitting up the commands and getting agreement on what to include in main line. We should re-visit this.