Version
latest 5.x and 4.x
Context
https://github.com/eclipse-vertx/vert.x/blob/master/vertx-core/src/main/java/io/vertx/core/impl/VertxImpl.java#L101-L104 shows that while creating virtual threads from other virtual threads we would use ThreadLocal(s) - which is a bad pattern due to the heavyweight nature of TL w Loom.
See netty/netty#13191 and quarkusio/quarkus#39696
There are few option(s) here:
IDK how to better fix it, since it's purpose is to propagate the context (see
|
ContextDispatch current = nonVertxContextDispatch.get(); |
), but we can think of a better and more performant way for sure.
Steps to reproduce
No response
Do you have a reproducer?
No response
Version
latest 5.x and 4.x
Context
https://github.com/eclipse-vertx/vert.x/blob/master/vertx-core/src/main/java/io/vertx/core/impl/VertxImpl.java#L101-L104 shows that while creating virtual threads from other virtual threads we would use ThreadLocal(s) - which is a bad pattern due to the heavyweight nature of TL w Loom.
See netty/netty#13191 and quarkusio/quarkus#39696
There are few option(s) here:
IDK how to better fix it, since it's purpose is to propagate the context (see
vert.x/vertx-core/src/main/java/io/vertx/core/impl/VertxImpl.java
Line 481 in 7b1c42e
Steps to reproduce
No response
Do you have a reproducer?
No response