Skip to content
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

Improve Virtual Thread compatibility #2308

Open
1 of 7 tasks
BenWhitehead opened this issue Nov 17, 2023 · 0 comments
Open
1 of 7 tasks

Improve Virtual Thread compatibility #2308

BenWhitehead opened this issue Nov 17, 2023 · 0 comments
Labels
api: storage Issues related to the googleapis/java-storage API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@BenWhitehead
Copy link
Collaborator

BenWhitehead commented Nov 17, 2023

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:

  1. Timeline for java 21 CI/CD infrastructure readiness
  2. synchronized method and blocks
  3. Existing locking strategies
  4. ExecutorService usage
  5. Context propagation with other libraries (OTel, OpenCensus)
  6. Parallel Stream usage
  7. other java.util.concurrent usages
@BenWhitehead BenWhitehead added type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. api: storage Issues related to the googleapis/java-storage API. labels Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the googleapis/java-storage API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

1 participant