Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorporate new Virtual Threads JFR events into JFR viewer #507

Open
thurka opened this issue Jun 7, 2023 · 0 comments
Open

Incorporate new Virtual Threads JFR events into JFR viewer #507

thurka opened this issue Jun 7, 2023 · 0 comments

Comments

@thurka
Copy link
Member

thurka commented Jun 7, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant