Is there any way to monitor the task queue of scala.concurrent.ExecutionContext.Implicits.global
? ie., see the number of tasks waiting for a thread to be released?
相关问题
- Unusual use of the new keyword
- Get Runtime Type picked by implicit evidence
- What's the point of nonfinal singleton objects
- PlayFramework: how to transform each element of a
- Error in Scala Compiler: java.lang.AssertionError:
相关文章
- Gatling拓展插件开发,check(bodyString.saveAs("key"))怎么实现
- RDF libraries for Scala [closed]
- Why is my Dispatching on Actors scaled down in Akk
- How do you run cucumber with Scala 2.11 and sbt 0.
- Spring 5 Web Reactive - Hot Publishing - How to us
- GRPC: make high-throughput client in Java/Scala
- Setting up multiple test folders in a SBT project
- Testing request with CSRF Token in Play framework
JDK comes along with
jconsole
andjmc
. You can use them to see thread usage. You can see,scala implicit threads name start with
scala-execution-context-global-n
.jmc
screenshot:Related: what is the best way to get the number of futures running in background in an execution context?