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

Avoid virtual thread deadlock by not using inline expunction on virtual fields #10768

Closed

Conversation

JonasKunz
Copy link
Contributor

Attempt to fix #10747.

Unfortunately I wasn't able to reproduce the original issue and add a test case, because it is unclear under which conditions Continuation.yield may throw exceptions. These exceptions are required to reproduce the issue.

@JonasKunz
Copy link
Contributor Author

Closed in favor of #10854. Also this won't properly fix the issue, because ConcurrentHashMap uses LockSupport.park on contention, which would cause the same issue.

@JonasKunz JonasKunz closed this Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Posible deadlock with Java 21 Virtual Threads
1 participant