[mono] JIT inline access to [ThreadStatic] fields doesn't run the class constructor
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 72/100
調査の方向性
Start with the inline TLS access in src/mono/mono/mini/method-to-ir.c and compare it with the other static-field paths that call emit_class_init. Run the repro in src/tests/JIT/Regression_ro_2/Runtime_136480.cs on a Mono runtime-test lane; done means the result is (0, 0, 1) instead of (0, 0, 0). The issue is open, unassigned, and has no linked pull request.
索引モデルが issue の本文から書いたものです。
説明
Accessing a [ThreadStatic] field of a class with an explicit static constructor doesn't run the constructor in Mono JIT code. src/mono/mono/mini/method-to-ir.c emits the inline TLS access (is_special_static && thread_ins) without emit_class_init, unlike the other static-field paths.
Repro: src/tests/JIT/Regression_ro_2/Runtime_136480.cs returns (0, 0, 0) instead of (0, 0, 1) on the mono linux/windows/osx runtime-test lanes (build 1652778).
Found while fixing the CoreCLR counterpart, dotnet/runtime#136480 / dotnet/runtime#136535.
[!NOTE]
This issue was drafted with GitHub Copilot.
- 主要言語
- C#
- スター
- 18.4k
- フォーク
- 5.8k
- 平均マージ
- 2日 12時間
- マージ済み PR(30日)
- 600
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
dotnet/runtime のほかの issue
-
area-System.IO untriaged
難易度 2/5 半日 初心者へのやさしさ 72/100
dotnet/runtime#136802 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[wasi] .NET 10: WasmEnableSIMD with AOT fails because WasiApp.targets has -msimd128 commented outオープンarea-Build-mono untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
area-System.ComponentModel untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
dotnet/runtime#136608 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
MemoryMappedFile (Windows): failed MEM_COMMIT is ignored, accessor over reserved memory crashes the process対応中かも @RutulPatel8 が 1 日前に担当しました。 オープンarea-System.IO bug untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
dotnet/runtime#136599 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area-System.IO untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
dotnet/runtime#136577 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
microsoft/microsoft-ui-xaml#12515 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 2 日以内に返信
-
[v5-preview5] `func new` displays incorrect command in error message when project is not initializedオープンNeeds: Triage (Functions) v5 v5-preview5
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
Azure/azure-functions-core-tools#5838 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
customer-reported needs-team-triage question server-Azure.Mcp tools-Pricing
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
microsoft/mcp#4087 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100