I need to use virtual threads through SimpleAsyncTaskExecutor and I have the following three questions:
- How do I control the number of platform threads used to dispatch the virtual threads?
- By setting taskTerminationTimeout is it possible to kill threads when they are blocking, and can this solve the thread pinned problem?
- How to get information about the ForkJoinPool, which can be used to monitor the health of the virtual threads.
I looked up some information and didn’t find a way
New contributor
severous is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1