googleapis / googleapis/google-cloud-java

[java-storage] Improve Virtual Thread compatibility

オープン
#12,641 コメント 1 件 リアクション 3 件 担当者 0 名 GitHub で見る
api: storage type: feature request
主要言語
Java
スター
2.1k
フォーク
1.2k
平均マージ
1日 23時間
マージ済み PR(30日)
154

説明

With the release of Java 21 [Virtual Threads](https://docs.oracle.com/en/java/javase/21/core/virtual-threads.html) 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](https://docs.oracle.com/en/java/javase/21/core/virtual-threads.html#GUID-B163BC51-039B-43BD-87ED-27BE384B509D) outlines several considerations we should keep in mind when doing this work.

Items to investigate:

0. [ ] Timeline for java 21 CI/CD infrastructure readiness
1. [x] `synchronized` method and blocks
2. [ ] Existing locking strategies
3. [ ] ExecutorService usage
4. [ ] Context propagation with other libraries (OTel, OpenCensus)
5. [ ] Parallel Stream usage
6. [ ] other `java.util.concurrent` usages

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。