Zum Hauptinhalt springen
🪟 Windows TippsHow to install and set up DBeaver on Windows 11(18.09.2026 um 02:31 Uhr)
🪟 Windows TippsHow to install and set up DBeaver on Windows 11(18.09.2026 um 02:31 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

trunk/93e4cf28820c295e565916ab325b151c6065543c: Make AOTConfig immutable in AOT stage 2 (#184070)

Summary

Root cause:

  • aot_stage2_compile() mutated AOTState.aot_config in place to inject stage-2 compilers and partitioners, and that made it hard to reason about whether aot_config represented the original compile request or a later stage-local override.
  • Freezing AOTConfig also exposed a few other in-place updates (decompositions, cache_info) that needed to become whole-object replacements or local copies.

Proposed fix:

  • Mark AOTConfig as frozen.
  • Replace the remaining setup/cache-time config writes with whole-object replacement or stage-local copies.
  • Thread the stage-2 partition_fn, fw_compiler, inference_compiler, and lazy-backward bw_compiler explicitly through the stage-2 helpers and runtime wrappers instead of stashing them on aot_config.
  • Add regression coverage for both lazy backward and inference so stage 2 leaves the config untouched.

Why this is the right long term fix:

  • It gives AOTConfig a single stable meaning again, keeps stage-specific compiler choices local to the code that consumes them, and preserves existing lazy-backward/inference behavior without hidden mutable state.

Drafted via Codex, published after manual review by @bobrenjc93

Pull Request resolved: #184070
Approved by: https://github.com/ezyang

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten trunk/93e4cf28820c295e565916ab325b151c6065543c: Make AOTConfig immutable in AOT stage 2 (#184070)

Thematisch verwandte Begriffe: trunk93e4cf28820c295e565916ab325b151c6065543c, Make, AOTConfig, immutable · 6 Treffer

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-61591 | djust provides Phoenix LiveView-style reactive server-side rendering for…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
News ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

↗ Original-Quelle