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

[24] JEP 491: Synchronize Virtual Threads without Pinning #3294

Closed
Tracked by #2899
mpalat opened this issue Nov 12, 2024 · 1 comment
Closed
Tracked by #2899

[24] JEP 491: Synchronize Virtual Threads without Pinning #3294

mpalat opened this issue Nov 12, 2024 · 1 comment
Assignees

Comments

@mpalat
Copy link
Contributor

mpalat commented Nov 12, 2024

ref: https://openjdk.org/jeps/491

Summary
Improve the scalability of Java code that uses synchronized methods and statements by arranging for virtual threads that block in such constructs to release their underlying platform threads for use by other virtual threads. This will eliminate nearly all cases of virtual threads being pinned to platform threads, which severely restricts the number of virtual threads available to handle an application's workload.

@mpalat mpalat added this to the BETA_JAVA24 M2 milestone Nov 12, 2024
@mpalat mpalat self-assigned this Nov 13, 2024
@mpalat
Copy link
Contributor Author

mpalat commented Nov 13, 2024

No effect in JDT - closing

@mpalat mpalat closed this as completed Nov 13, 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

No branches or pull requests

1 participant