Potential deadlock issue in Versions 3.50.1 to 3.65.1 (Fixed in 3.66.0)

オープン
#706 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
java
領域
api

調査の方向性

まず、プロジェクトの依存関係の宣言と OCI Java SDK のリリースノートを確認し、バージョン 3.50.1 から 3.65.1、および 3.66.0 の修正に重点を置いてください。影響を受けるユーザーがバージョン 3.66.0 以降に案内され、古いバージョンに関する案内が不要になれば完了です。

索引モデルが issue の本文から書いたものです。

説明

SDK

If you are using any OCI Java SDK version(s) >= 3.50.1 and <= 3.65.1, then you might be affected by a potential deadlock issue. We recommend you to update to version 3.66.0 or later. If you are not using any of the affected OCI Java SDK versions, you can ignore this issue.

Description
When using OCI Java SDK version(s) >= 3.50.1 and <= 3.65.1, you might a run into a deadlock scenario with the method com.oracle.bmc.http.client.pki.Utf8.of. The method Utf8.of off-loads its read to CompletableFuture.runAsync() on the global ForkJoinPool.commonPool and immediately calls .join(). In parallel workloads, when this method is invoked from multiple common-pool threads, the very threads needed to run the background read are all blocked in join(). The future’s task never executes, starving the pool and causing a hard deadlock. This issue has been fixed in version 3.66.0.

Affected Versions

Actions
Update the OCI Java SDK version to 3.66.0 or later.

主要言語
Java
スター
243
フォーク
171
平均マージ
5分
マージ済み PR(30日)
4

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

oracle/oci-java-sdk のほかの issue

oracle/oci-java-sdk の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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