-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
enhancementA general enhancementA general enhancementmodule: micrometer-coreAn issue that is related to our core moduleAn issue that is related to our core module
Milestone
Description
Follow-up from #3650. See https://openjdk.org/jeps/444#JDK-Flight-Recorder-JFR
Existing thread metrics do not cover virtual threads - ThreadMXBean only provides statistics on platform threads.
New potential instrumentation of virtual threads is only available via JFR. We can count started/finished virtual threads. The other events available are:
jdk.VirtualThreadPinnedindicates that a virtual thread was pinned (and its carrier thread wasn’t freed). This event is enabled by default with a threshold of 20 ms.jdk.VirtualThreadSubmitFailedindicates that starting or unparking a virtual thread failed, probably due to a resource issue. Parking a virtual thread releases the underlying carrier thread to do other work, and unparking a virtual thread schedules it to continue. This event is enabled by default.
nhmarujo, balazspeterfi, ArtyomGabeev, expe-elenigen, nexen505 and 4 more
Metadata
Metadata
Assignees
Labels
enhancementA general enhancementA general enhancementmodule: micrometer-coreAn issue that is related to our core moduleAn issue that is related to our core module