OpenJDK CRaC support
まだ誰も着手していません。
評価
調査の方向性
この issue には、ソースファイル、テスト、エントリーポイントが記載されていません。まず javaagent がサーバー接続をどのように管理しているかを追跡し、CRaC のチェックポイントとリストアのライフサイクルを確認してください。エージェントがチェックポイント前に管理対象のリソースを閉じ、復元後に再び開けるようになれば完了です。
索引モデルが issue の本文から書いたものです。
説明
I'm using Spring Boot app and I was hoping I could utilize the CRaC project. My app uses this javaagent to send profiling data to server.
In order for CRaC to work, so called checkpoint must be captured, and restored. Before checkpoint is captured, all open connections, sockets and files must be closed. Also, when restoring the checkpoint, every such connection,socket and file must be reopened so the app can perform the same way before the checkpoint was taken.
So the problem here is that pyroscope java agent has an open connection to server where it sends data to, and from the java code, we have no way to close/reopen such connection, meaning capturing the checkpoint is impossible.
The solution would be to make pyroaxopw javaagent CRaC compatible, meaning that the agent can automatically respond to checkpoint capturing/restoring by closing /reopening connections,sockets and files it manages.
That way capturing the checkpoint would be possible.
Other javaagents have the same issue with CRaC and are actively working on it:
https://github.com/elastic/apm-agent-java/issues/2982
https://github.com/newrelic/newrelic-java-agent/issues/1697
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/10363
- 主要言語
- Java
- スター
- 125
- フォーク
- 48
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
grafana/pyroscope-java のほかの issue
-
Clean up dead publishing repository config and credentials in subproject build files対応中かも @arnabnandy7 が 24 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
grafana/pyroscope-java#294 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 54/100
grafana/pyroscope-java#371 · リアクション 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
grafana/pyroscope-java#368 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
grafana/pyroscope-java#283 ·
-
libasyncProfiler-linux-x64.so dump in /tmp再び着手できるかも @korniltsev-grafanista が 262 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
grafana/pyroscope-java#250 · コメント 1 件 · 担当者 1 名 ·
grafana/pyroscope-java の issue をすべて見る
似ている issue
-
agent-java community triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
elastic/apm-agent-java#4594 ·
メンテナーはふだん 1 日以内に返信
-
area/plugin good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
kestra-io/plugin-soda#137 ·
-
area/plugin good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
kestra-io/plugin-aws#816 ·
メンテナーはふだん 2 日以内に返信
-
area/plugin good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
kestra-io/plugin-kestra#200 ·
メンテナーはふだん 1 日以内に返信
-
bug untriaged
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
opensearch-project/search-relevance#618 ·
メンテナーはふだん 3 日以内に返信