-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Revisit synchronized
blocks involving blocking operations
#2690
Comments
spring-projects-issues
added
the
status: waiting-for-triage
An issue we've not yet triaged
label
Aug 23, 2023
mp911de
added
type: task
A general task
and removed
status: waiting-for-triage
An issue we've not yet triaged
labels
Aug 23, 2023
mp911de
changed the title
Detect thread pinning when LettuceConnectionFactory.getSharedConnection() is called
Revisit Aug 23, 2023
synchronized
blocks involving blocking operations
Thanks a lot for letting us know. It makes indeed sense to revisit our |
@mp911de |
mp911de
added a commit
that referenced
this issue
Aug 23, 2023
To avoid thread pinning on virtual thread arrangements we now use ReentrantLock instead of a synchronized block. Closes #2690
mp911de
added a commit
that referenced
this issue
Aug 23, 2023
Add missing Override annotations. See #2690
jxblum
added a commit
to jxblum/spring-data-redis
that referenced
this issue
Sep 13, 2023
Closes spring-projects#2690 Original pull request: spring-projects#2691
jxblum
added a commit
to jxblum/spring-data-redis
that referenced
this issue
Sep 13, 2023
Closes spring-projects#2690 Original pull request: spring-projects#2691
jxblum
pushed a commit
to jxblum/spring-data-redis
that referenced
this issue
Sep 13, 2023
Add missing Override annotations. See spring-projects#2690
jxblum
added a commit
to jxblum/spring-data-redis
that referenced
this issue
Sep 13, 2023
Closes spring-projects#2690 Original pull request: spring-projects#2691
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
Issue
Detects virtual thread parking & pinning when
LettuceConnectionFactory.getSharedConnection()
is called.Stack trace is below. (need to be apply
-Djdk.tracePinnedThreads=full
)Do you have any plan that avoid thread pinning? (ex. Use
ReentrantLock
)The text was updated successfully, but these errors were encountered: