Track callstack through optimized frames?
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 12/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 活発
- 技術スタック
- javascript, wasm
調査の方向性
The payload names no specific files or tests. Start with the linked discussion in pull request #2 and the description of how the baseline tier writes frames but optimized MIR bodies do not. Done here means a documented feasibility finding on whether Error#stack can enumerate optimized MIR frames with source locations, not a finished patch. Expect design discussion with maintainers before any code.
索引モデルが issue の本文から書いたものです。
説明
In this discussion it was raised that maybe Error#stack (and JS backtraces generally) should be able to enumerate NightMonkey frames, at least with source locations. Right now this is not the case because we don't write out a frame by default for optimized function bodies; we only write frames on bailout to baseline. The cost calculus is somewhat different than the native JIT, because (unlike native code) Wasm code relies on the protected, unobservable Wasm control stack for call/return discipline; so we don't get a walkable stack with PCs "for free".
Right now, the plan-of-record is for most debugging scenarios to use the NightMonkey baseline tier instead, which does create full frames. However, for compatibility, we should still investigate whether we can do this for MIR frames if possible.
- 主要言語
- JavaScript
- スター
- 5
- フォーク
- 1
- 平均マージ
- 7時間 12分
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
bytecodealliance/nightmonkey のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 18/100
bytecodealliance/nightmonkey の issue をすべて見る
似ている issue
-
Name the maintainers in CODEOWNERS対応中かも @TorecLuik が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
-
[Bug] AM Context Monitor (am-monitor): Session turns count is capped at 80 due to turns.slice(-80)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
lbjlaq/Antigravity-Manager#4180 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
[workshop-sync] workshop/06-install-gh-aw.md: example version output is outdated (0.81.6 vs v1.2.2)オープンdocumentation
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
githubnext/gh-aw-workshop#6467 ·
メンテナーはふだん 1 日以内に返信