visualvm icon indicating copy to clipboard operation
visualvm copied to clipboard

Incorporate new Virtual Threads JFR events into JFR viewer

Open thurka opened this issue 2 years ago • 0 comments

JEP 444: Virtual Threads adds several new events JFR:

  • jdk.VirtualThreadStart and jdk.VirtualThreadEnd indicate virtual thread start and end. These events are disabled by default.
  • jdk.VirtualThreadPinned indicates 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.VirtualThreadSubmitFailed indicates 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.

thurka avatar Jun 07 '23 13:06 thurka