Improve Virtual Thread compatibility
BenWhitehead opened this issue · 0 comments
BenWhitehead commented
With the release of Java 21 Virtual Threads are now a first class feature.
To better support the use of virtual threads in applications we will need to evaluate and update certain assumptions and aspects the library is built upon today.
Virtual Threads: An Adoption Guide outlines several considerations we should keep in mind when doing this work.
Items to investigate:
- Timeline for java 21 CI/CD infrastructure readiness
-
synchronized
method and blocks - Existing locking strategies
- ExecutorService usage
- Context propagation with other libraries (OTel, OpenCensus)
- Parallel Stream usage
- other
java.util.concurrent
usages