getVirtualThreads

Virtual threads information for the process. These values provide details about the current state of virtual threads, including the number of mounted threads, queued threads, the parallelism level, and the thread pool size.

Return

an instance of VirtualThreadsInfo containing information aboutvirtual threads, or null if the VirtualThreadSchedulerMXBean is notavailable

Since

3.5.0