Is java 21 virtual threads compatible? #885
Unanswered
junkfactory
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I think the Java SDK team may have a better answer for this. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am doing R&D with new feature of java 21, particularly virtual threads. We have an multi-threaded app that does large number of puts to an s3 bucket (in batches though). It uses
in the AwsCrtAsyncHttpClient.putObject() operation. So far testing looks promising but unrealistic to reach production level volume in testing.
One pitfall of virtual threads when they are pinned to carrier thread while waiting for the blocking native code operations. Since CRT interfaces with native code, this crossed my mind.
Would appreciate any insights if anyone came across or see potential problems in this case?
Beta Was this translation helpful? Give feedback.
All reactions