-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Pinned thread when selecting an instance from Arc #41314
Comments
Hm, I thought that |
I believe so as well. I do not know if there is
|
Most likely there is. ReentrantLock is working. |
do you know how to chase it? |
@vsevel I don't think there is a general way how to chase it. Can you provide me with a reproducer? Just to be sure there are no monitors in your business code? I can't reproduce it. |
it is unlikely that I will be able to give a reproducer. I am totally fine if at some point we close it with "cannot reproduce". I still wanted to create the issue so that we have a place to provide as much context as possible, and that is something that can be searched by others that experience the same issue. |
a bit more information. I looked at the app that was experiencing that particular issue, with that exact stacktrace. |
I see io.smallrye.faulttolerance.core.apiimpl.LazyFaultTolerance.call(LazyFaultTolerance.java:28) <== monitors:1 Which have a monitor there? |
I investigated a little bit more this problem and, as correctly reported by @franz1981, I believe it is caused by this synchronization https://github.com/smallrye/smallrye-fault-tolerance/blame/63dce3532edbaa7c2b666671a5e7a1e0700d6521/implementation/core/src/main/java/io/smallrye/faulttolerance/core/apiimpl/LazyFaultTolerance.java#L41 In general I don't like that double check lazy initialization pattern, but I understand that sometimes it is necessary. I will try to replace it with an |
Thanks for your investigation Mario! |
This issue should have been fixed with the merging of this pull request smallrye/smallrye-fault-tolerance#1035 |
smallrye/smallrye-fault-tolerance#1035 is part of SR FT 6.4.0 that is used in Quarkus 3.14.0.CR1+. |
Describe the bug
I detected the following thread pinning:
we do not believe we are doing any native call in our app.
similar issue to #41313
how can we investigate this?
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: