-
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
@RunOnVirtualThread Not Working with Undertow Servlet #42274
Comments
/cc @cescoffier (virtual-threads), @ozangunalp (virtual-threads) |
AFAIK the Moreover, The rule is as follows - if the docs explicitly do not mention the support for |
@mkouba Thank you! |
I don't know if there's a plan to add VT support to |
There is no plan to support virtual threads with undertow (servlets). |
Describe the bug
The @RunOnVirtualThread annotation seems not to work as expected when used in the Undertow extension. Specifically, the servlet's service method does not run on a virtual thread as intended.
Code:
Log:
Expected behavior
The service method should run on a virtual thread, and the logs should indicate that the current thread is a virtual thread.
Actual behavior
The service method does not appear to run on a virtual thread as expected. Instead, it runs on a regular thread.
How to Reproduce?
Output of
uname -a
orver
Linux latitude 6.5.0-45-generic #45~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Jul 15 16:40:02 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Output of
java -version
openjdk version "21.0.1" 2023-10-17 LTS
Quarkus version or git rev
3.13.0
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.9.7
Additional information
No response
The text was updated successfully, but these errors were encountered: