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

Add a PoolTap that support virtual threads #179

Merged
merged 1 commit into from
Sep 16, 2024
Merged

Add a PoolTap that support virtual threads #179

merged 1 commit into from
Sep 16, 2024

Conversation

chrisvest
Copy link
Owner

Virtual threads need to avoid things like ThreadLocal variables, synchronized methods or blocks, and other poorly supported APIs. This adds a PoolTap implementation that relies on striping BSlotCaches based on the thread-id, to spread contention when TLR-claiming objects.

Virtual threads need to avoid things like ThreadLocal variables, synchronized methods or blocks, and other poorly supported APIs.
This adds a PoolTap implementation that relies on striping BSlotCaches based on the thread-id, to spread contention when TLR-claiming objects.
@chrisvest chrisvest merged commit 80026d5 into main Sep 16, 2024
5 checks passed
@chrisvest chrisvest deleted the striped-taps branch September 16, 2024 00:11
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.

1 participant