summaryrefslogtreecommitdiff
path: root/chapter33/README.ja.md
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2026-11-30 10:43:11 -0800
committerCliff Click <cliffc@acm.org>2026-11-30 10:43:11 -0800
commitd9a46e588fe09ed58e160778b0d8dcee62d4d0e4 (patch)
tree80fdd9e8294636c0e666fa52db7cac4a9b8c8d01 /chapter33/README.ja.md
parentc37676fc0c04997f51f4659848570619f68ac10d (diff)
downloadSimple-d9a46e588fe09ed58e160778b0d8dcee62d4d0e4.tar.gz
Simple-d9a46e588fe09ed58e160778b0d8dcee62d4d0e4.zip
Checkpoint Allocation2 before separate-compilation redesignch33
Replace the legacy allocation planner, deletion proof engine, and independent FunctionEffects pass with Allocation2 as the sole allocation-analysis phase. Keep one Site per optimized allocation/static object, per-site weak field facts, dependency-driven escape propagation, incoming-edge counts, and points-to dumps. Move the shared node WorkList into util. Normalize Never exits before allocation analysis and TypeCheck while preserving semantic nonreturning summaries. Keep internal class-init call dependencies out of global escapes, sharpen hidden private-memory defaults, refresh singleton constant escape sets after type closure, and publish field-local escape facts. Detach unloaded summary wrappers from scheduling roots. Retain declaration metadata and optimized return states in C0DA objects without legacy contracts. Keep qualified forward type names separate from expression member access, allow peepholes to return dead self, and retain the supporting regressions. Use integer types for symbolic field offsets and Opto-high uninitialized fields. Make Breakout's debounce helper private. Remove disabled escape implementations, obsolete null assertions, duplicate graphics compilation, survey runners/results, investigation transcripts, and source archives. Consolidate the selected ownership, lifetime, storage, deletion, and growing-array designs with their rationale/examples and academic references. Replace the obsolete Chapter33 handoff in the AI notes with current guidance. This is an unfinished analysis checkpoint. Imported pointer identities, transitive escapes, intrinsic calls, construction checks, and cofinite-summary universe rebasing still need work. Import loading order is unchanged. Validation: main/test compilation and git diff --check pass. Before/after make -k -j8 tests_nographics both report 825 executions and 78 failures, with unchanged extracted failure names; all lattice shards pass. Chapter33 retains its three failing deletion/imported-identity/transitive-escape regressions.
Diffstat (limited to 'chapter33/README.ja.md')
-rw-r--r--chapter33/README.ja.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/chapter33/README.ja.md b/chapter33/README.ja.md
index 6d1d8c4e..d6ebae8f 100644
--- a/chapter33/README.ja.md
+++ b/chapter33/README.ja.md
@@ -4,8 +4,10 @@
[前の章:第32章 — コンパイラ内部の高速化](../chapter32/README.ja.md)
-この章では自動メモリ管理を検討します。設計は未定で、実装はまだ始めていません。
-完成した第32章のコンパイラから始まります。
+この章では Allocation2 による割り当てサイト単位の points-to 解析を実装しています。
+分離コンパイルへの対応は未完成で、所有権の証明、配置の選択、メモリの再利用は今後の課題です。
+現在の設計と参考文献は[メモリ管理の設計](docs/memory-management.md)、
+可変長配列の構築スコープは[配列の設計](docs/growing-arrays.md)を参照してください(英語)。
コンパイラ、ライブラリ、実行例、テストを含む、独立して実行できるスナップショットです。
高速化の説明と測定結果は[第32章](../chapter32/README.md)にあります。