visualvm
visualvm copied to clipboard
Incorporate new Virtual Threads JFR events into JFR viewer
JEP 444: Virtual Threads adds several new events JFR:
-
jdk.VirtualThreadStartandjdk.VirtualThreadEndindicate virtual thread start and end. These events are disabled by default. -
jdk.VirtualThreadPinnedindicates that a virtual thread was parked while pinned, i.e., without releasing its platform thread (see above). This event is enabled by default, with a threshold of 20ms. -
jdk.VirtualThreadSubmitFailedindicates that starting or unparking a virtual thread failed, probably due to a resource issue. This event is enabled by default.
It would be great if this new JFR events can be used to provide info about Virtual threads in JFR viewer.