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

More efficient monitoring of fibers on virtual threads #4014

Open
armanbilge opened this issue Feb 23, 2024 · 1 comment
Open

More efficient monitoring of fibers on virtual threads #4014

armanbilge opened this issue Feb 23, 2024 · 1 comment
Labels

Comments

@armanbilge
Copy link
Member

Spinning out of #3929 (comment).

We fixed the memory leak, but monitoring fibers on virtual threads still has a single point of contention.

@djspiewak
Copy link
Member

In general this is going to be a difficult space for us. There are probably a ton of places where we assume the absolute number of threads is small while the number of fibers is large. I agree we should try to fix this issue, but we're probably going to be playing whack-a-mole a bit.

Overall, we should probably consider where along the spectrum from "ignoring virtual threads" to "we have a dedicated runtime and fiber implementation when we detect virtual thread support" we want to fall.

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

No branches or pull requests

2 participants