You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it seems the culprits are DataOutputStream & ByteArrayOutputStream.
according to this article, not all java.io classes are adjusted to be fit for project loom. not sure why though.
is it possbile to use the compatible classes instead?
The text was updated successfully, but these errors were encountered:
@keydon if you have time to submit a PR to implement what you suggest, it would be appreciated. We would like to see hard evidence that a change has a substantial benefit.
Our goal with this library is to make it as backwards-compatible as possible. I believe it still supports Java 8, for instance.
You can switch to NIO to see if it works better with virtual threads.
We already refactored some parts of the Java client library (e.g. using Lock instead of synchronized), but it will be hard to completely avoid some JDK classes.
Describe the bug
when running a simple spring boot 3 with spring-amqp app with the debug-flag
-Djdk.tracePinnedThreads=full
Thread-Pinning occurs.
Reproduction steps
-Djdk.tracePinnedThreads=full
Expected behavior
no thread pinning
Additional context
it seems the culprits are DataOutputStream & ByteArrayOutputStream.
according to this article, not all java.io classes are adjusted to be fit for project loom. not sure why though.
is it possbile to use the compatible classes instead?
The text was updated successfully, but these errors were encountered: