From 88528b9b5fce5aa4da3fb6bd8cda8d503547c184 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralph=20K=C3=BCpper?= Date: Sun, 4 Oct 2026 09:19:43 +0200 Subject: [PATCH 1/3] audit(gc): revalidate census window and classify page-size cache --- scripts/gc_runtime_root_holders.json | 6 +++--- scripts/thread_exit_address_globals.json | 8 ++++++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/scripts/gc_runtime_root_holders.json b/scripts/gc_runtime_root_holders.json index fdb0a48865..03993ed688 100644 --- a/scripts/gc_runtime_root_holders.json +++ b/scripts/gc_runtime_root_holders.json @@ -343,7 +343,7 @@ "file": "crates/perry-runtime/src/gc/census.rs", "name": "PASS1_MARKED", "verdict": "non_moving_snapshot", - "why": "Real GC header addresses, deliberately untraced so the diagnostic does not keep its observed objects alive. Populated only at the end of mark propagation of a synchronous full cycle; consumed at sweep entry in the same run_to_completion invocation. The intervening full-cycle phases do not relocate or run JS callbacks. The Vec is used for membership comparisons and dropped with the census before sweep. Budgeted and minor cycles skip both boundaries. Pin re-audited 2026-09-05 after #9760 touched `gc/mod.rs`: that change is `mod heap_stats;` plus a `pub(crate) use` re-export and alters no mark/sweep control flow. `heap_stats()` is reached only from `js_bun_jsc_heap_stats` (the JS-facing `bun:jsc.heapStats()`), i.e. from mutator code, never inside a cycle, and its own module contract forbids allocation or collection during its walk. The mark-complete \u2192 sweep-entry window is unchanged. Re-audited 2026-09-05 (train125) after #9769 and #9771 touched pinned files. #9769 adds one `reg_scanner!` registration to `gc/mod.rs`; #9771 adds a feature-gated `alloc_census_init()` there and a feature-gated Rust-heap dump inside `take_census`. `alloc-census` is not in the default feature set, and decisively: `census_take_if_armed_at_full_sweep_start` does `PASS1_MARKED.with(|p| p.borrow_mut().take())` BEFORE calling `take_census`, so the snapshot has already left the thread-local by the time #9771's code runs \u2014 it cannot affect the window. Neither change alters mark/sweep control flow. Re-audited 2026-09-06 after #9831 touched `gc/policy.rs`. Its hunks are (a) the tiny-parse pressure guard's pricing (`tiny_parse_pressure_headroom_bytes`, `tiny_parse_pressure_due*`, a `Cell` byte-count base) consulted from JSON.parse's mutator-side boundaries (`gc_bump_malloc_trigger`, `gc_collect_pending_suppressed_parse`, `gc_schedule_parse_boundary_collection_if_pressure`), none of which is reachable from inside a cycle, and (b) one extra `Cell` store in `note_collection_finished_arena_occupancy`, which runs from `publish_reclaim_outcome` in the Publish subphase \u2014 after `step_sweep` has already consumed the snapshot. Mark/sweep control flow between `census_pass1_if_armed` and `census_take_if_armed_at_full_sweep_start` is untouched. Re-audited 2026-09-05 (train126) after #9755 restructured `gc/cycle.rs`. Its hunks are all root-scan machinery (`RootScanSubphase`, `RootScanCycleState`, the mutable-scanner iteration state), which runs BEFORE mark propagation completes; `gc/mod.rs` gains only a `mod young_log;` declaration. The bracketing is unchanged \u2014 `census_pass1_if_armed` is still inside `step_mark_propagation` and `census_take_if_armed_at_full_sweep_start` inside `step_sweep` \u2014 and a synchronous full mark-sweep still moves nothing between them. Re-pinned 2026-09-05 for the #9740 hot-TLS conversion of this file: the sole change is `thread_local!` \u2192 `crate::perry_thread_local!`, a macro-name swap with identical declaration syntax and `.with()` call sites. No control flow, no phase boundary, and no storage semantics change. Re-audited 2026-09-06 (train128) after #9794's GC diagnostics touched `gc/mod.rs` and `gc/policy.rs`: both gain diagnostic module declarations and counters only \u2014 no mark/sweep control flow, and the census bracketing in `step_mark_propagation` / `step_sweep` is unchanged. Re-audited for #9794's GC diagnostics: `gc/mod.rs` gains `mod diag_sites;` / `mod survival_diag;`, a re-export, a `diag_sites::full_started(...)` call at TRIGGER time (before mark propagation begins), and exit-time reporting. Nothing executes between mark-complete and sweep-entry, so the window is unchanged. Re-audited 2026-09-06 for the retained array-growth verifier fix: the cycle.rs change passes the existing non-copying evacuation verifier an explicit all-forwarded policy. That call remains in minor finalization, outside the synchronous full-cycle census window; its root and heap reads do not allocate GC objects, move objects, or invoke JS callbacks. The mark-complete and sweep-entry boundaries are unchanged. Re-audited 2026-09-05 after #9830 touched `gc/policy.rs`. That change is (a) six `thread_local! {` blocks rewritten as `crate::perry_thread_local! {` and (b) one `#[cfg(test)]` accessor listing the trigger path's hot-slot indices. The macro keeps the same storage, the same `.with()` at every read and write, and the same destructor registration (the teardown guard exists exactly when `needs_drop` holds, which is what `std::thread_local!` already decided); no value, predicate or branch in the file changes, so no mark or sweep control flow does. The one new behaviour is on a declaration's FIRST read: `HotKey::resolve_and_cache` takes a mutex and allocates a key through the GLOBAL allocator. Even if a first read landed inside this window it would be sound \u2014 the window's contract is that nothing relocates and no JS callback runs, and a mimalloc allocation does neither. `census_pass1_if_armed` is still inside `step_mark_propagation` and `census_take_if_armed_at_full_sweep_start` inside `step_sweep`; the bracketing is untouched. Re-audited 2026-09-06 (train132) after #9860 and #9845 touched `gc/mod.rs`. Both hunks are re-export lists and nothing else: #9860 adds `idle_reclaim_elapsed_starts` / `IDLE_RECLAIM_REARM_MS`, and #9845 adds `owner_is_dead_copied_minor_from_space_of_type`. No mark or sweep control flow changes. #9845's substantive work sits in `gc/oldgen.rs` and `gc/copying.rs`, neither pinned: the copying-minor arm (`finalize_dead_copied_minor_from_space_regexps`) runs on a MINOR, which skips both census boundaries; the full-cycle arm (`collect_dead_registered_regexps_post_trace`, from `with_dead_collection_finalize`) walks the RegExp registry building a Vec of addresses \u2014 no GC allocation, no JS callback, so it cannot relocate the snapshot's subjects \u2014 and it is reached from the sweep body, i.e. AFTER `census_take_if_armed_at_full_sweep_start` has already `take()`n the snapshot out of the thread-local. The mark-complete -> sweep-entry window is unchanged. Re-audited 2026-09-07 for #9965 after 1ec9e0e8a touched `gc/cycle.rs` and `gc/mod.rs`: `gc/mod.rs:216-217` only declares and imports the failure-attribution module, while `gc/cycle.rs:1414-1417` reads the trigger and diagnostic counters immediately before evacuation verification inside `atomic_finalize_minor_prelude`. Full cycles bypass `MinorPrelude` at `gc/cycle.rs:1192-1196`; evacuation remains guarded by the minor-only context at `gc/cycle.rs:1330-1372`. The snapshot store remains at `gc/cycle.rs:963-964` after synchronous full marking, and its take remains at `gc/cycle.rs:1454-1457` before sweep. No new write, relocation, collection, or JS callback was added to that full-cycle interval, so the PASS1_MARKED window is unaffected. Re-audited 2026-09-07 for the regex census rows: all new work is in `take_census` after `census_take_if_armed_at_full_sweep_start` has taken PASS1_MARKED out of TLS; neither boundary nor the intervening cycle control flow changed. Re-audited 2026-09-08 (train144) after #9976 and #9977 touched pinned files. `gc/mod.rs` gains exactly three lines: `mod copying_phase;` and `mod regex_census;` (declarations) and one `reg_scanner!(regex::site_test::scan_roots_mut)` registration. A scanner registration adds a root SOURCE for the mutable-root walks; it does not move either census boundary and runs nowhere between them. `gc/census.rs` widens `side_tables()` to `pub(super)`, extends it with regex rows and adds a test module \u2014 all census REPORTING, which runs from the diagnostic dump, not inside a cycle. Mark/sweep control flow between `census_pass1_if_armed` and `census_take_if_armed_at_full_sweep_start` is untouched. Re-audited 2026-09-08 for #9849 JSON construction deferral. `gc/mod.rs` adds the `json_defer` module/re-export and a trusted-header layout helper used only by already-validated JSON emitters; neither changes or runs in collector phase control flow. `gc/policy.rs` adds JSON completion scheduling, construction-grace checks, and safepoint deferral predicates. These are called from mutator-side JSON allocation/output boundaries and ordinary safepoint entry; they do not alter `step_mark_propagation`, `step_sweep`, or invoke callbacks or relocation between the census boundaries. The mark-complete to sweep-entry window is unchanged. The follow-up adds a cfg(test)-only one-shot boolean for deterministic explicit-pressure fixtures; it is absent from production builds and cannot affect the census window. The first predicate read consumes it, so post-parse accounting exercises normal pricing. Re-audited 2026-09-09 for bounded tiny-JSON completion polling. The policy.rs changes split the mutator-side pending-parse check into an inlined empty fast path plus an outlined debt-service path, and amortize the mutator-side arena-pressure read across 64 bounded parse completions. Neither function is reachable from step_mark_propagation or step_sweep; neither census boundary nor the synchronous full-cycle interval between them changes. Re-audited 2026-09-09 for lazy JSON record batches: policy.rs only widens gc_budgeted_cycle_active visibility from pub(super) to pub(crate). Its body remains a read-only Cell query. The new caller is lazy_get materialization in the mutator; run_to_completion, step_mark_propagation, census snapshot consumption at step_sweep, and the synchronous non-moving window are unchanged. Re-audited 2026-09-09 for completed JSON-output debt: the added gc_service_json_output_sweep function calls the existing trigger check from a rooted mutator boundary and reports whether its malloc-count request remains due. It is not called from any census or collector phase; the synchronous mark-complete to sweep-entry window is unchanged. Re-audited 2026-09-09 for the JSON byte-debt carry: the same mutator-only service helper now distinguishes requests satisfied before its call from those satisfied by its trigger check. The added enum contains no payload, both count reads are scalar, and no census boundary or collector phase changed. Re-audited 2026-09-11 for #10055: gc/mod.rs only registers the weak UTF-16 index scanner during gc_init. It neither marks strings nor allocates GC objects or runs JS; offset vectors use the Rust allocator. The mark-complete to sweep-entry census window and cycle control flow are unchanged. Re-audited 2026-09-11 for #10054: gc/mod.rs adds only the trim-cache mutable-root scanner registration in gc_init. Its scanner visits two existing string slots without allocating or invoking JS. Root scanning still precedes mark completion, and neither census boundary nor the synchronous mark-complete to sweep-entry window changes. Re-audited 2026-09-11 for #10060: the census array classifier now reads the logical element start and bounds its scan by the remaining capacity. The helper only reads the existing GC/header words and performs pointer arithmetic; it cannot allocate, collect, or call JS. This classifier runs in take_census after PASS1_MARKED has been taken out of TLS. Neither census boundary nor the mark-complete to sweep-entry control flow changed. Re-audited for #8512: gc/mod.rs only enables the existing PTY mutable-root scanner on Windows; it changes no mark/sweep phase or census boundary. The scanner visits NaN-boxed slots without running JS callbacks. Re-audited 2026-09-12 for the single regular-expression engine: `gc/mod.rs` changes `mod prefetch;` to `pub(crate) mod prefetch;` so the RegExp owner-table walks can prefetch headers, a visibility change with no new call in collector control flow; `gc/census.rs` changes only its `#[cfg(test)]` `regex_census_tests` module, dropping assertions for the previous engine's cache rows. Neither boundary (`census_pass1_if_armed` in `step_mark_propagation`, `census_take_if_armed_at_full_sweep_start` in `step_sweep`) nor the synchronous mark-complete to sweep-entry interval changes. Re-audited 2026-09-13 after the #10169 fix touched `gc/mod.rs` and `gc/policy.rs`. `gc/mod.rs` gains only `pub(crate) use` re-exports (`policy::note_young_leaf_born_old`, `policy::young_generation_holds_a_nursery`, `promote_in_place::{young_generation_measured_dying, young_generation_measured_retained}`, and cfg(test) survival seeders). `gc/policy.rs` gains a `Cell` thread-local (`GC_YOUNG_LEAF_BORN_OLD`, no pointer), its setter, a pure predicate over `copying_from_space_in_use_bytes` vs the base nursery cap, and a consumed-once branch at the top of `gc_budgeted_due_trigger` that may answer `YoungScavengeCap` ahead of `OldReclaim`. That branch decides WHICH collection a safepoint starts (a minor instead of a full); it runs before any cycle begins and never inside one, so the mark-complete \u2192 sweep-entry window of a synchronous full \u2014 where PASS1_MARKED is populated and consumed within one `run_to_completion` \u2014 is unchanged, and neither hunk adds an allocation, a JS callback, or a relocation to it. Re-audited 2026-09-13 for the heap generation (#10164 cross-call search positions): `gc/mod.rs` only declares `pub(crate) mod heap_generation;`. `gc/cycle.rs` wraps the `Sweep` and `Reclaim` arms of `GcCycleState::step` in a `HeapChange` scope and opens one inside `atomic_finalize_minor_prelude`'s evacuation branch (with a nested one around old-page defrag). Opening and closing a scope only increments two thread-local integer cells (`HEAP_GENERATION`, `OPEN_HEAP_CHANGES`); a first thread-local read may allocate a key through the global allocator, which neither relocates nor runs JS. The `Sweep` scope opens immediately before `step_sweep`, i.e. before `census_take_if_armed_at_full_sweep_start` takes PASS1_MARKED out of TLS, and adds no relocation, collection or JS callback to the synchronous mark-complete to sweep-entry window; the minor-prelude scope is unreachable from a full cycle, which bypasses `MinorPrelude`. Neither boundary nor the intervening control flow changed. Re-audited 2026-09-13 for #10182 block-granular reclamation, which touched `gc/cycle.rs`. Two hunks: (a) in the `RememberedSetRebuild` subphase of AtomicFinalize \u2014 INSIDE the window \u2014 the require-marked old-to-young rebuild is now constructed with `OldToYoungRememberedRebuildState::new_skipping`, whose cursor never enters blocks the census recorded as holding no reached, pinned or pre-marked object (`BlockCensus::unmarked_blocks`); computing that list reads `arena_block_snapshots()` and allocates one `Vec` through the global allocator. It visits a subset of the same objects the rebuild already walked (every skipped object would have been rejected as unmarked), and it neither allocates a GC object, relocates anything, nor runs a JS callback. (b) In `step_sweep`, `IncrementalSweepState::with_block_skip` runs after `census_take_if_armed_at_full_sweep_start` has already taken PASS1_MARKED out of TLS. Neither boundary moved and the synchronous mark-complete to sweep-entry interval gains no relocation, collection or callback. Re-audited 2026-09-11 for the startup memory profile: gc/mod.rs only retains the pre-main allocator-policy constructor in js_gc_init. The constructor applies process allocation options, without invoking GC or JS. No census boundary, collector phase, or mark-complete to sweep-entry control flow changed. Re-audited 2026-09-13 for #10179: census.rs only adds a native regex cache metadata row and its unit assertion; snapshot consumption and the full-cycle window are unchanged. Re-audited 2026-09-14 for the GC due-check fast path, which touched `gc/mod.rs` and `gc/policy.rs`. `gc/mod.rs` only changes the safepoint re-exports: `gc_runtime_safepoint` becomes cfg(test) and `gc_runtime_safepoint_poll` is added. `gc/policy.rs`: the budgeted step returns a debt-free `GcStepReport` (debt is attached by the FFI and test entry points after the step returns) and moves cycle start/step into an out-of-line `gc_budgeted_start_or_step`; `gc_check_trigger` reuses a repeatable due-trigger answer through `DueTriggerMemo`, placed after its `GC_FLAG_IN_ALLOC` and suppression early returns; the young scavenge cap reuses the old-gen pressure value the due trigger already read and checks the census-seeded flag first. All of it runs from mutator safepoints, allocation-point trigger checks and the host step API, before a cycle starts or between budgeted steps. None of it is reachable between `census_pass1_if_armed` in `step_mark_propagation` and `census_take_if_armed_at_full_sweep_start` in `step_sweep` of a synchronous full: an allocation inside that window reaches `gc_check_trigger` with `GC_FLAG_IN_ALLOC` set and returns before the changed code. No allocation, relocation, collection or JS callback is added to the window. Re-audited 2026-09-14 for the tiny-parse nursery-cap boundary, which touched `gc/policy.rs`. It adds `tiny_parse_generational_collection_due`, a pure predicate (the existing `tiny_parse_pressure_due` OR the existing `young_scavenge_cap_due` read), and calls it instead of `tiny_parse_pressure_due` from `gc_bump_malloc_trigger_inner` and `gc_collect_pending_suppressed_parse_slow` (generational branch only) and from `gc_schedule_parse_boundary_collection_if_pressure`. All three are JSON.parse mutator-side boundaries, none reachable from `step_mark_propagation` or `step_sweep`; the predicate reads counters and allocates nothing. Neither census boundary nor the synchronous mark-complete to sweep-entry interval changed. Re-audited 2026-09-13 for #10182's full-collection throughput follow-up, which touched `gc/cycle.rs` in one hunk, INSIDE the window: the `RememberedSetRebuild` subphase of a synchronous full now first asks `verify::full_remembered_rebuild_provably_empty` and, when it holds, installs `OldToYoungRememberedRebuildState::provably_empty()` (an empty sticky set, no walk) instead of the require-marked rebuild. The predicate reads `arena_block_snapshots()` (one `Vec` through the global allocator), the census's per-block reached/pre-marked facts and the malloc registry's length; the constructor bumps a `Cell` counter and prints one line under `PERRY_GC_DIAG`. None of it allocates a GC object, relocates anything, collects, or runs a JS callback, and both census boundaries stay where they were. Re-audited 2026-09-14 for #10182's pacing-full work, which touched `gc/cycle.rs`, `gc/mod.rs` and `gc/policy.rs`. `gc/cycle.rs`: `GcCycleState::new_full` no longer calls `materialize_all_promoted_page_runs`; that call ran in the constructor, before the census and far before `census_pass1_if_armed`, and removing it adds nothing to the window. `gc/mod.rs`: one `mod promoted_cohort;` declaration. `gc/policy.rs`: (a) `credit_promoted_bytes_to_old_baseline` also credits a `Cell` cohort counter (it runs after a copying minor completes); (b) `finish_full_old_reclaim_baseline` also records the verified old live bytes and resets that counter (Publish, after `step_sweep` consumed the snapshot); (c) `gc_safepoint_moving_minor` arms and disarms the promotion-census record around its nursery minor and calls `run_promoted_cohort_full_if_due`, which starts a synchronous full through the same `gc_collect_full_mark_sweep_with_trigger` entry and reads byte counters before and after it. All of it runs before a cycle starts or after it completes; none of it runs between mark completion and sweep entry, allocates a GC object, relocates anything, or calls into JS. The census the promoted-cohort full may adopt from the promotion walk is built in `BuildValidPointerSet`, before either boundary. Both boundaries are unchanged. Re-audited 2026-09-14 for the #10182 dead-stack scrub in `gc/cycle.rs`: `step_build_valid_pointer_set` now calls `scrub_dead_stack_below`, which zeroes a local array in its own frame (dead stack below the caller), right after the census finishes \u2014 in `BuildValidPointerSet`, before the root scan and far before `census_pass1_if_armed`. It writes no heap memory, allocates nothing, relocates nothing and calls no JS; both boundaries are unchanged. Re-audited 2026-09-14 for #10241 (cohort survival), which touched `gc/cycle.rs` and `gc/policy.rs`. `gc/cycle.rs`: one call, `promoted_cohort::survival::check_minor_view_at_full_sweep_start()`, in `step_sweep` immediately AFTER `census_take_if_armed_at_full_sweep_start` has taken PASS1_MARKED out of TLS, i.e. outside the window. It is a no-op unless a promoted-cohort full armed its survival probe; when armed it walks the old page index over the preceding minor's dirty pages (`old_arena_walk_objects_on_pages`, Rust-allocator Vecs), reads GC headers' mark flags and the slots of unmarked ones, and records one enum. It writes no heap memory, allocates no GC object, relocates nothing and calls no JS. `gc/policy.rs`: `run_promoted_cohort_full_if_due` arms the probe before `gc_collect_full_mark_sweep_with_trigger` and takes it after the full returns (feeding `note_full_measured_promotion_survival` and one diagnostic line); both run before a cycle starts or after it completes. Both boundaries are unchanged. Re-audited 2026-09-14 for #10241's in-place-only cohort: `gc/policy.rs` drops the `promoted_cohort::note_promoted` call from `credit_promoted_bytes_to_old_baseline` (the copying minor now calls `promoted_cohort::note_minor_promotion` itself, after the credit). Both run at the end of a copying minor, outside any full cycle; the mark-complete to sweep-entry window is unchanged. Re-audited 2026-09-14 for the parse-boundary side-allocation band (medium-parse pacing), which touched `gc/policy.rs`. Three hunks: (a) a `Cell` thread-local (`GC_LAST_COLLECTION_EXTERNAL_SIDE_BYTES`, a byte COUNT, no pointer) plus three pure predicates over it and `external_side_live_bytes()`; (b) that predicate added as a third disjunct of `tiny_parse_generational_collection_due`, which is read only from the three JSON.parse mutator-side boundaries (`gc_bump_malloc_trigger_inner`, `gc_collect_pending_suppressed_parse_slow`, `gc_schedule_parse_boundary_collection_if_pressure`), none of them reachable from `step_mark_propagation` or `step_sweep`; and (c) one extra `Cell` store in `note_collection_finished_arena_occupancy` plus two extra reads in the `PERRY_GC_DIAG` tiny-parse line. `note_collection_finished_arena_occupancy` runs from `publish_reclaim_outcome` in the Publish subphase, i.e. AFTER `step_sweep` has already `take()`n the snapshot out of the thread-local, exactly as #9831's store on the same line does. Nothing added allocates a GC object, relocates anything, or runs a JS callback, and neither census boundary moved. Re-audited 2026-09-14 for the drained-bytes counterweight to that band, which touched `gc/policy.rs` again. Four hunks: a second `Cell` thread-local (`GC_EXTERNAL_SIDE_DRAINED_SINCE_FULL`, a byte COUNT); one increment of it inside `gc_note_external_side_free`; a pure read (`external_side_old_reclaim_pressure_bytes`) substituted for `external_side_live_bytes()` at the four old-reclaim pressure sites; and one `Cell` store at the top of `finish_full_old_reclaim_baseline`. None of it can run between the census boundaries. `gc_note_external_side_free` is also reached by mutator-side tape materialization, regex scratch teardown, native-addon adjustments and buffer replacement. Its added operation is only a saturating increment of a scalar Cell, with no GC allocation, relocation, collection or JS callback, so this wider caller set does not invalidate the census window. `finish_full_old_reclaim_baseline` runs from `publish_reclaim_outcome` in the Publish subphase, the same place #9831's store already sits. The pressure reads happen at trigger decisions, before a cycle starts. No allocation, relocation, collection or JS callback is added to the mark-complete -> sweep-entry window, and neither boundary moved. Re-audited 2026-09-15 for turnloop P0, which touched `gc/mod.rs` with one added call: `crate::event_pump::shutdown_wait_driver()` inside `js_gc_release_current_thread_collection_side_allocations`, the process-exit funnel. That function runs once no more JavaScript can run on the thread, never from inside a collection cycle; the added call drops the thread's turnloop wait loop (closing its kqueue/epoll descriptor) and may print a diagnostic line. It allocates no GC object, relocates nothing, starts no collection and runs no JS callback. The census boundaries and the mark-complete -> sweep-entry window are untouched.. Re-audited 2026-09-16 for the copying minor's per-parent weak-holder fact: `gc/mod.rs` gains exactly one line, `mod copying_parent_facts;`, a module declaration. The module it declares holds `weak_holder_fact` (a read of the parent's `obj_type`/`class_id` via `weakref::is_weak_holder_header`) and the copying minor's `visit_slot_with_parent`, moved verbatim out of `gc/copying.rs` for the 2000-line lint. Both run only inside a COPYING MINOR, which skips both census boundaries (`census_pass1_if_armed` in `step_mark_propagation` and `census_take_if_armed_at_full_sweep_start` in `step_sweep` are synchronous-full only). Nothing was added to any full-cycle phase, and the declaration itself executes no code. Neither boundary moved and the synchronous mark-complete to sweep-entry window gains no allocation, relocation, collection or JS callback. Re-audited 2026-09-18 for the #10532 follow-up argument-list rooting fix, which touched `gc/mod.rs`. The only change there is `mod collection_points;` plus a `pub(crate) use collection_points::collection_point;` re-export (and, under `#[cfg(test)]`, `arm_collection_point`). `collection_point` is an inline no-op outside `cfg(test)`; under test it only runs a copying minor when called from ordinary MUTATOR code (`proxy.rs`'s `Reflect.apply` rebind path and `registry.rs`'s rest-array bundler), never from inside `step_mark_propagation` or `step_sweep`. Neither `census_pass1_if_armed` nor `census_take_if_armed_at_full_sweep_start` is reachable from it, so the mark-complete to sweep-entry window is unchanged. Re-audited 2026-09-18 (same PR, round 2) for the added `arm_collection_point_after` re-export in `gc/mod.rs`: another pure re-export line, same as the `collection_point`/`arm_collection_point` one already covered above. `arm_collection_point_after` only changes test-only arming state in `collection_points.rs` (which named site fires and on which hit); it still runs no mark/sweep control flow. Re-audited 2026-09-19 for #10735 (require.main threading): gc/mod.rs gains exactly one line, `reg_scanner!(crate::module_require::scan_cjs_main_module_root_mut);`, registering the new CJS_MAIN_MODULE thread-local's mutable-root scanner beside the existing `scan_module_path_roots_mut` registration. A scanner registration adds a root SOURCE for the mutable-root walks; it runs during root scanning, before mark propagation completes, and does not execute between `census_pass1_if_armed` and `census_take_if_armed_at_full_sweep_start`. Neither census boundary moved and the synchronous mark-complete to sweep-entry window is unchanged. Re-audited 2026-09-20 for #10834 (inherited-property read cache). `gc/mod.rs` gains exactly one line: `reg_scanner!(crate::object::inherited_read_cache::scan_inherited_read_cache_roots_mut);` in `gc_init()`. A scanner registration adds a root SOURCE for the mutable-root walks. The walk runs inside `RootScanCycleState::step_current_subphase`, i.e. entirely within the RootScan phase: `step_root_scan` only sets `self.phase = GcCyclePhase::MarkPropagation` once that loop reports done (`gc/cycle.rs:958-961`), and `census_pass1_if_armed()` fires at the END of `step_mark_propagation` (`gc/cycle.rs:982`). The scanner therefore runs strictly BEFORE the window opens and can never execute between the boundaries. Its body is a bounded walk of a fixed 512-entry thread-local array calling `visit_tagged_usize_slot` / `visit_usize_slot`; it allocates nothing, relocates nothing and runs no JS callback. Same shape as #9769, #9976/#9977, #10054, #10055 and #10735, all previously cleared. The PR also adds an `INHERITED_READ_CACHE` entry to `DEAD_KEY_PRUNES` in `gc/dead_owner.rs` (not a pinned source). That registry is consumed by `IncrementalSweepState::with_dead_collection_finalize` at `gc/cycle.rs:1548`, which is AFTER `census_take_if_armed_at_full_sweep_start` at `gc/cycle.rs:1505` has already `take()`n the snapshot out of the thread-local -- the same argument that cleared #9845's `collect_dead_registered_regexps_post_trace`. The prune reads addresses and zeroes entries; no GC allocation, relocation or callback. Both additions sit outside the window, on opposite sides of it. Neither boundary moved and the synchronous mark-complete to sweep-entry interval is unchanged. Re-audited 2026-09-22 for #10399 (per-thread module init), which touched `gc/mod.rs`. Two hunks, both init-time: a new free function `raise_default_thread_stack_floor()` and one call to it at the top of `js_gc_init`, before `enter_current_thread_image`'s successor statements. The function reads `RUST_MIN_STACK` from the environment and, only when it is unset, sets it to 32 MiB so a thread spawned against a multi-megabyte static TLS block still has usable stack (glibc carves static TLS out of the thread's stack mapping). It touches no heap object, allocates no GC object, relocates nothing and runs no JS callback. `js_gc_init` is the first runtime call of a compiled `main`, so it runs once before any cycle exists, and it is not reachable from `step_mark_propagation` or `step_sweep`. Same shape as the 2026-09-11 startup-memory-profile re-audit, which cleared the pre-main allocator-policy constructor in the same function. Neither census boundary moved and the synchronous mark-complete to sweep-entry window is unchanged. Re-audited 2026-09-23 (size/runtime-decouple, #11135) after the binary-size branch touched `gc/census.rs`, `gc/mod.rs` and `gc/policy.rs`. census.rs: `census_pass1_if_armed` / `census_take_if_armed_at_full_sweep_start` keep their bodies verbatim, moved into `_impl` functions compiled only with the new `gc-instruments` feature (without it both are empty and `census_path()` is `None`, so nothing is ever armed); the take still empties PASS1_MARKED before `take_census`. gc/mod.rs: `gc_init` gains a startup env check that aborts when an instrument knob is set without the feature, before any cycle exists. gc/policy.rs: env-knob OnceLock caches now initialize through `crate::once_init::get_or_init` (same closures, same values). No mark/sweep control flow between the two census boundaries changed; the window is unchanged. Re-audited for Fetch handle reclamation: cycle.rs only redirects the incomplete-cycle Drop cancellation hook to also cancel the Fetch trace. The full-trace finish hook removes native records and cached slots without allocating GC objects or invoking JS; it cannot relocate the census addresses before sweep entry. Re-audited 2026-09-22 for #10928 (one proportional old-reclaim rule), which touched `gc/policy.rs`. Six hunks. (a) Two new thread-locals, `GC_OLD_RECLAIM_PRE_IN_USE_BYTES` (`Cell`) and `GC_OLD_RECLAIM_BACKOFF_SHIFT` (`Cell`): both are byte/shift COUNTS, neither holds a pointer. (b) `gc_old_reclaim_growth_band_bytes` gains a `Cell` read and a left shift -- pure arithmetic over byte counts. (c) `old_reclaim_pressure_due` loses the #7937 absolute first-crossing arm, splits its pure form out as `old_reclaim_pressure_due_inner`, and calls `note_old_reclaim_cycle_started()` when the answer is true. That predicate is read at TRIGGER decisions only -- the allocation-point `gc_check_trigger` and `gc_budgeted_due_trigger` at safepoints -- i.e. before a cycle starts, never between the boundaries; an allocation inside the window reaches `gc_check_trigger` with `GC_FLAG_IN_ALLOC` set and returns before this code, the same argument the 2026-09-14 due-check fast-path re-audit made for the same function. Even if it did run there it would be sound: `note_old_reclaim_cycle_started` stores one scalar `Cell` from `pacing_arena_in_use_bytes()` (a read of `arena_live_allocated_bytes`), which allocates no GC object, relocates nothing and runs no JS callback -- the window's contract. (d) `update_old_reclaim_backoff` is called only from `finish_full_old_reclaim_baseline`, which runs from `publish_reclaim_outcome` in the Publish subphase, AFTER `step_sweep` has already `take()`n the snapshot out of the thread-local -- exactly where #9831's store and the medium-parse pacing store already sit. (e) `gc_old_reclaim_debt_bytes` drops the absolute arm it mirrored; it remains pure arithmetic read at debt/trigger decisions. (f) `#[cfg(test)]` seams, absent from production builds. `census_pass1_if_armed` is still inside `step_mark_propagation` and `census_take_if_armed_at_full_sweep_start` inside `step_sweep`. Nothing added allocates a GC object, relocates anything, collects, or invokes a JS callback between them; the change alters only WHEN a collection is scheduled, never what runs inside one. Neither boundary moved and the mark-complete to sweep-entry window is unchanged. Re-audited 2026-09-24 for #10960 (growth-aware old-reclaim backoff), which touched `gc/policy.rs` again. One new thread-local, `GC_OLD_RECLAIM_LAST_POST_IN_USE_BYTES` (`Cell`), a byte COUNT that holds no pointer. It is written only by `update_old_reclaim_backoff`, which runs from `finish_full_old_reclaim_baseline` in the Publish subphase, after `step_sweep` has already taken the snapshot out of the thread-local; the change there is pure integer arithmetic deciding whether to widen the band. Nothing added allocates a GC object, relocates anything, collects, or invokes a JS callback, and neither window boundary moved. Re-audited 2026-09-24 after the class-capture environment added one `reg_scanner!` registration (`scan_class_env_roots_mut`, visiting each guarded class environment's owner class object) to `gc/mod.rs`: a root-scanner registration alters no mark/sweep control flow and runs nothing inside the mark-complete to sweep-entry window. Re-audited 2026-09-25 after the inherited-access lane touched `gc/mod.rs`: the change is one `reg_scanner!` registration for `object::chain_store::scan_chain_store_roots_mut`, a root scanner that visits store-site chain verdicts (one interned key pointer each) during root scanning. It runs at the start of a cycle, never between mark completion and sweep entry, relocates nothing and runs no JS callback. The synchronous mark-complete to sweep-entry window is unchanged. Re-audited 2026-09-25 for #10698 (allocation-point trigger watermark), which touched `gc/mod.rs` and `gc/policy.rs`. `gc/mod.rs` gains `pub(crate) mod trigger_watermark;` and a `pub(crate) use` re-export -- no control flow. In `gc/policy.rs`: (a) `gc_check_trigger` becomes an out-of-line wrapper over an inlined fast path that reads the watermark cell, the malloc registry's length through an unguarded shared borrow and the inline allocator's offset, then either returns or runs the previous body unchanged (`gc_check_trigger_evaluate`). An allocation inside the window reaches it with `GC_FLAG_IN_ALLOC` set: the fast path returns without acting, which is the outcome of the `GC_FLAG_IN_ALLOC` early return it would otherwise reach, and the slow path still takes that early return. (b) The due-trigger evaluation also returns a watermark -- integer arithmetic over values it already read -- published only on the no-action return past every entry guard. (c) The ladder's thresholds and flags are retyped `Cell` -> `TriggerInput`, whose writes add one store retiring the watermark; heap-generation advances and `Arena::set_current` retire it too. (d) `#[cfg(test)]` seams. Nothing added allocates a GC object, relocates anything, collects, or invokes a JS callback; `census_pass1_if_armed` is still inside `step_mark_propagation` and `census_take_if_armed_at_full_sweep_start` inside `step_sweep`, so the mark-complete to sweep-entry window is unchanged. Re-audited 2026-09-25 for #10498 (class-accessor cache), which adds one `reg_scanner!` registration (`scan_class_accessor_cache_roots_mut`, marking and rewriting the cache's key strings) to `gc/mod.rs`: again a root-scanner registration, altering no mark/sweep control flow and running nothing inside the mark-complete to sweep-entry window. Re-audited 2026-09-26 for #10572: `gc/mod.rs` gains one `#[cfg(not(feature = \"hot-diag\"))]` call to `hot_diag::refuse_knobs_without_hot_diag()` in `gc_init`, a startup-only knob check that runs before any cycle and alters no mark/sweep control flow; the mark-complete to sweep-entry window is unchanged. Re-audited 2026-09-27 for #11416: `gc/mod.rs` loses the `reg_scanner!` registration for `class_accessor_cache::scan_class_accessor_cache_roots_mut` (the cache is deleted); removing a root-scanner registration alters no mark/sweep control flow and runs nothing inside the mark-complete to sweep-entry window. Re-audited 2026-09-27 for the method-calls lane, which adds one `reg_scanner!` registration (`scan_method_site_roots_mut`, marking and rewriting the method closures inherited method-site entries hold) to `gc/mod.rs`: a root-scanner registration, altering no mark/sweep control flow and running nothing inside the mark-complete to sweep-entry window. Re-audited 2026-09-28 (charter step 5, P0): the field-representation census adds `mod census_field_repr;` to `gc/mod.rs` and, in `census.rs`, one Rust-owned accumulator fed from `visit_object` inside `take_census`, which runs after `census_take_if_armed_at_full_sweep_start` has already taken PASS1_MARKED; it reads slots and the per-object layout maps (try_borrow), allocates nothing on the JS heap and alters no mark/sweep control flow. The window is unchanged. Re-audited 2026-09-27 for #11416: `gc/mod.rs` loses the `reg_scanner!` registration for `class_accessor_cache::scan_class_accessor_cache_roots_mut` (the cache is deleted); removing a root-scanner registration alters no mark/sweep control flow and runs nothing inside the mark-complete to sweep-entry window. Re-audited 2026-09-27 for the method-calls lane, which adds one `reg_scanner!` registration (`scan_method_site_roots_mut`, marking and rewriting the method closures inherited method-site entries hold) to `gc/mod.rs`: a root-scanner registration, altering no mark/sweep control flow and running nothing inside the mark-complete to sweep-entry window. Re-audited 2026-09-27 (class constructors as function objects, #11414): `gc/mod.rs` gains one `reg_scanner!` registration (`object::class_value::scan_class_value_roots_mut`, the per-agent class function-object table, visited and rewritten) \u2014 a root-scanner registration that alters no mark/sweep control flow and runs nothing inside the mark-complete to sweep-entry window. Re-audited 2026-09-29 after #11659 added `verify::verify_array_hole_tails_at_collection()` to `gc/mod.rs` and `gc/policy.rs`. Every call sits at a collection or budgeted-cycle ENTRY, beside `roots::ensure_stack_maps_built()`, i.e. before mark begins and so before `census_pass1_if_armed` opens the window. The call is a read-only walk of array headers (debug builds, or release with PERRY_GC_VERIFY_ARRAY_HOLES): it neither allocates GC memory, relocates, runs JS, nor reads or writes PASS1_MARKED, and it panics rather than continuing on a violation. Mark/sweep control flow between `census_pass1_if_armed` and `census_take_if_armed_at_full_sweep_start` is untouched. Pin re-audited 2026-09-29 after PR #11646 added one call inside that window, in `cycle.rs` beside `census_take_if_armed_at_full_sweep_start`: `object::shapes::store_kind::audit_heap_at_full_sweep_start()`. It compiles to nothing unless the `shape-fact-audit` feature is on; when on it walks the arena read-only (`gc::for_each_live_object_at_sweep_start`, in `gc/verify.rs`) and reads each marked object header and its shape record. It allocates no GC object, moves nothing, runs no JS callback and holds no address past the walk, so PASS1_MARKED stays valid across it; a disagreement panics rather than continuing. Re-audited 2026-09-29 after the pinned-roots fix touched `gc/cycle.rs` and `gc/mod.rs`: the block-persistence live-block predicate now reads GC_FLAG_MARKED alone (pinned objects are marked as roots, so the set of live blocks is unchanged), and `gc/mod.rs` adds one `reg_scanner!` registration. Neither relocates, runs JS, or moves the mark-complete to sweep-entry window. Re-audited again 2026-09-29 (same fix, copying-minor follow-up): `BlockPersistCycleState`'s force-mark in `gc/cycle.rs` no longer skips an unmarked pinned header, so it marks and pushes it like any other object of a live block. That is marking inside the budgeted cycle's persistence step: nothing relocates, no JS runs, and the budgeted path still skips both census boundaries. The window is unchanged. Re-audited 2026-09-29 for this-as-a-parameter stage 3: `gc/mod.rs` registers `scan_dispatch_binding_roots_mut` in place of `scan_implicit_this_roots_mut` (the implicit-`this` cell is deleted; the same scanner body keeps `new.target`, the static-`this` override and the static private-owner stack) and rewords its comment; a root-scanner registration, altering no mark/sweep control flow and running nothing inside the mark-complete to sweep-entry window. Re-audited 2026-09-28 for the JsFunctionInfo lane: `gc/census.rs`'s `side_tables()` loses its `closure_registry_census()` row (the closure-body registry is deleted); a census report row, altering no mark/sweep control flow and running nothing inside the mark-complete to sweep-entry window. Re-audited 2026-09-29 for the read-site holder entry: `gc/mod.rs` adds one `reg_scanner!` registration, `read_holder::scan_read_holder_roots_mut`, which visits the holder and hop words of registered read-site caches during ROOT SCAN, before mark propagation completes. It rewrites root slots only through the visitor (as every registered scanner does), runs no JS, and nothing it does executes between `census_pass1_if_armed` and `census_take_if_armed_at_full_sweep_start`. The window is unchanged. Re-audited 2026-09-30 for Step 5 P4: census.rs only removes the typed-layout count, and gc/mod.rs removes shape-install registration/re-export and an init-time typed-intact verifier gate. The snapshot remains stored after mark propagation and taken at sweep entry; none of these edits relocates objects or invokes callbacks in that interval. Re-audited 2026-09-29 (#11549 trace cost): `gc/mod.rs` gains one `mod copying_object_scan;` declaration, the copying minor's plain-object slot walk. It is reached only from the copying drain, never from a full cycle, and changes no mark or sweep control flow. The window is unchanged. Re-audited 2026-09-30 after rebasing P4 over #11549/#11676: gc/mod.rs retains the copying_object_scan declaration and P4 removes typed-layout registration; both are module wiring outside the synchronous full mark-complete to sweep-entry window. The census boundaries and the window owner in cycle.rs are unchanged. Re-audited 2026-09-30 for the scope-context change: gc/mod.rs only removes the box root-scanner registration and exit-time box statistics. The former ran during root scan, before mark completion, and the latter runs at process exit. Neither changes the synchronous mark-complete to sweep-entry window. Re-audited 2026-09-28 for #11605 (link-time runtime feature installs): `gc/mod.rs` registers the interpreter root scanner through its always-present forwarder (`dyn_eval_hooks::scan_dyn_eval_roots_mut`, which calls the real scanner through a slot the `dyn-eval` install fills) instead of a feature-gated direct registration, and `js_gc_init` ends by running the program\u2019s feature installer, which only stores fn pointers into `Hook` slots at startup, before any user code or collection. Neither alters mark/sweep control flow or runs inside the mark-complete to sweep-entry window. Re-audited 2026-10-01 after main integration: the pinned census, cycle, policy and progress files are byte-identical to current main. The only gc/mod.rs delta replaces the interpreter scanner registration with its installed-slot forwarder and invokes the installer at js_gc_init startup, before user code and any collection. No change executes between mark completion and sweep entry. Re-audited 2026-09-28 for the release-runtime instrument strip: every changed line in `gc/census.rs`, `gc/cycle.rs`, `gc/mod.rs` and `gc/policy.rs` renames a `feature = \"diagnostics\" | \"gc-instruments\" | \"hot-diag\"` gate to the build-script cfg `perry_diagnostics` / `perry_gc_instruments` / `perry_hot_diag`, which `perry-runtime/build.rs` sets exactly when the feature is on unless PERRY_RELEASE_STRIP_INSTRUMENTS=1. With the cfg set the compiled code is unchanged; with it unset (release packages) the census that fills this snapshot is not compiled, so the window never opens. No mark/sweep control flow changes. Re-audited 2026-10-01 while integrating the repaired #11605 parent: all five pinned files are byte-identical to that reviewed parent after normalizing only the diagnostics/instrument cfg names; its current census_field_repr module and startup installer hooks remain intact. The synchronous mark-complete to sweep-entry window is unchanged. Re-audited for A2 inherited-read-cache deletion: gc/mod.rs removes only its old root-scanner registration and adjacent comments. The method-site and read-holder scanners still run during root scan before mark completion; no collection phase or callback was added inside the mark-complete to sweep-entry window. Re-audited 2026-09-30 for the setter-site root scanner: gc/mod.rs adds only its reg_scanner! registration in the root-scan setup. That scanner visits per-site key and holder slots before mark propagation completes; it runs no JS and adds no relocation or callback between census pass1 and sweep entry. The synchronous-full snapshot window and both boundaries remain unchanged. Re-audited 2026-10-01 against main a8f4f3dd76: census.rs, cycle.rs, policy.rs and progress.rs are byte-identical to reviewed #11629 head 85e0fe18ec. The only pinned-file delta in gc/mod.rs removes the deleted inherited-read-cache scanner, retains chain-store/method-site/read-holder scanners, and registers the setter-site scanner during gc_init. These registrations run during root scanning before mark completion. Both link-time feature installers and release instrument cfgs are preserved; neither census boundary nor the non-moving synchronous-full interval changes. Re-audited 2026-09-28 for #11605 (link-time runtime feature installs): `gc/mod.rs` registers the interpreter root scanner through its always-present forwarder (`dyn_eval_hooks::scan_dyn_eval_roots_mut`, which calls the real scanner through a slot the `dyn-eval` install fills) instead of a feature-gated direct registration, and `js_gc_init` ends by running the program\u2019s feature installer, which only stores fn pointers into `Hook` slots at startup, before any user code or collection. Neither alters mark/sweep control flow or runs inside the mark-complete to sweep-entry window. Re-audited 2026-10-01 after main integration: the pinned census, cycle, policy and progress files are byte-identical to current main. The only gc/mod.rs delta replaces the interpreter scanner registration with its installed-slot forwarder and invokes the installer at js_gc_init startup, before user code and any collection. No change executes between mark completion and sweep entry. Re-audited 2026-10-01 while integrating main 7b5912d4e7 into #11605: census.rs, cycle.rs, policy.rs and progress.rs are byte-identical to that main. The only gc/mod.rs differences register the existing interpreter root scanner through its installed-slot forwarder and run the selected feature installer at js_gc_init startup before user code. The current main method/read-holder/setter-site scanners are preserved. No work was added between mark completion and sweep entry; the synchronous non-moving snapshot window is unchanged. Re-audited 2026-10-02 for the SPECIAL ConstFn verifier: gc/mod.rs adds only a feature-gated forwarding-helper re-export. The helper follows existing validated forwarding and runs no JS, allocation or collection. No holder, scanner registration or mark/sweep control flow is added; both census boundaries and their synchronous window remain unchanged. Re-audited 2026-10-03 for the prototype-in-shape lane: gc/mod.rs adds one reg_scanner! registration, scan_shape_prototype_words_mut, which visits the shape records' prototype words and their identity-index values as strong roots during root scanning (before mark propagation). It runs no JS, performs no GC allocation or collection, and adds no relocation or callback between census pass1 and sweep entry; both census boundaries and their synchronous window remain unchanged.", + "why": "Real GC header addresses, deliberately untraced so the diagnostic does not keep its observed objects alive. Populated only at the end of mark propagation of a synchronous full cycle; consumed at sweep entry in the same run_to_completion invocation. The intervening full-cycle phases do not relocate or run JS callbacks. The Vec is used for membership comparisons and dropped with the census before sweep. Budgeted and minor cycles skip both boundaries. Pin re-audited 2026-09-05 after #9760 touched `gc/mod.rs`: that change is `mod heap_stats;` plus a `pub(crate) use` re-export and alters no mark/sweep control flow. `heap_stats()` is reached only from `js_bun_jsc_heap_stats` (the JS-facing `bun:jsc.heapStats()`), i.e. from mutator code, never inside a cycle, and its own module contract forbids allocation or collection during its walk. The mark-complete \u2192 sweep-entry window is unchanged. Re-audited 2026-09-05 (train125) after #9769 and #9771 touched pinned files. #9769 adds one `reg_scanner!` registration to `gc/mod.rs`; #9771 adds a feature-gated `alloc_census_init()` there and a feature-gated Rust-heap dump inside `take_census`. `alloc-census` is not in the default feature set, and decisively: `census_take_if_armed_at_full_sweep_start` does `PASS1_MARKED.with(|p| p.borrow_mut().take())` BEFORE calling `take_census`, so the snapshot has already left the thread-local by the time #9771's code runs \u2014 it cannot affect the window. Neither change alters mark/sweep control flow. Re-audited 2026-09-06 after #9831 touched `gc/policy.rs`. Its hunks are (a) the tiny-parse pressure guard's pricing (`tiny_parse_pressure_headroom_bytes`, `tiny_parse_pressure_due*`, a `Cell` byte-count base) consulted from JSON.parse's mutator-side boundaries (`gc_bump_malloc_trigger`, `gc_collect_pending_suppressed_parse`, `gc_schedule_parse_boundary_collection_if_pressure`), none of which is reachable from inside a cycle, and (b) one extra `Cell` store in `note_collection_finished_arena_occupancy`, which runs from `publish_reclaim_outcome` in the Publish subphase \u2014 after `step_sweep` has already consumed the snapshot. Mark/sweep control flow between `census_pass1_if_armed` and `census_take_if_armed_at_full_sweep_start` is untouched. Re-audited 2026-09-05 (train126) after #9755 restructured `gc/cycle.rs`. Its hunks are all root-scan machinery (`RootScanSubphase`, `RootScanCycleState`, the mutable-scanner iteration state), which runs BEFORE mark propagation completes; `gc/mod.rs` gains only a `mod young_log;` declaration. The bracketing is unchanged \u2014 `census_pass1_if_armed` is still inside `step_mark_propagation` and `census_take_if_armed_at_full_sweep_start` inside `step_sweep` \u2014 and a synchronous full mark-sweep still moves nothing between them. Re-pinned 2026-09-05 for the #9740 hot-TLS conversion of this file: the sole change is `thread_local!` \u2192 `crate::perry_thread_local!`, a macro-name swap with identical declaration syntax and `.with()` call sites. No control flow, no phase boundary, and no storage semantics change. Re-audited 2026-09-06 (train128) after #9794's GC diagnostics touched `gc/mod.rs` and `gc/policy.rs`: both gain diagnostic module declarations and counters only \u2014 no mark/sweep control flow, and the census bracketing in `step_mark_propagation` / `step_sweep` is unchanged. Re-audited for #9794's GC diagnostics: `gc/mod.rs` gains `mod diag_sites;` / `mod survival_diag;`, a re-export, a `diag_sites::full_started(...)` call at TRIGGER time (before mark propagation begins), and exit-time reporting. Nothing executes between mark-complete and sweep-entry, so the window is unchanged. Re-audited 2026-09-06 for the retained array-growth verifier fix: the cycle.rs change passes the existing non-copying evacuation verifier an explicit all-forwarded policy. That call remains in minor finalization, outside the synchronous full-cycle census window; its root and heap reads do not allocate GC objects, move objects, or invoke JS callbacks. The mark-complete and sweep-entry boundaries are unchanged. Re-audited 2026-09-05 after #9830 touched `gc/policy.rs`. That change is (a) six `thread_local! {` blocks rewritten as `crate::perry_thread_local! {` and (b) one `#[cfg(test)]` accessor listing the trigger path's hot-slot indices. The macro keeps the same storage, the same `.with()` at every read and write, and the same destructor registration (the teardown guard exists exactly when `needs_drop` holds, which is what `std::thread_local!` already decided); no value, predicate or branch in the file changes, so no mark or sweep control flow does. The one new behaviour is on a declaration's FIRST read: `HotKey::resolve_and_cache` takes a mutex and allocates a key through the GLOBAL allocator. Even if a first read landed inside this window it would be sound \u2014 the window's contract is that nothing relocates and no JS callback runs, and a mimalloc allocation does neither. `census_pass1_if_armed` is still inside `step_mark_propagation` and `census_take_if_armed_at_full_sweep_start` inside `step_sweep`; the bracketing is untouched. Re-audited 2026-09-06 (train132) after #9860 and #9845 touched `gc/mod.rs`. Both hunks are re-export lists and nothing else: #9860 adds `idle_reclaim_elapsed_starts` / `IDLE_RECLAIM_REARM_MS`, and #9845 adds `owner_is_dead_copied_minor_from_space_of_type`. No mark or sweep control flow changes. #9845's substantive work sits in `gc/oldgen.rs` and `gc/copying.rs`, neither pinned: the copying-minor arm (`finalize_dead_copied_minor_from_space_regexps`) runs on a MINOR, which skips both census boundaries; the full-cycle arm (`collect_dead_registered_regexps_post_trace`, from `with_dead_collection_finalize`) walks the RegExp registry building a Vec of addresses \u2014 no GC allocation, no JS callback, so it cannot relocate the snapshot's subjects \u2014 and it is reached from the sweep body, i.e. AFTER `census_take_if_armed_at_full_sweep_start` has already `take()`n the snapshot out of the thread-local. The mark-complete -> sweep-entry window is unchanged. Re-audited 2026-09-07 for #9965 after 1ec9e0e8a touched `gc/cycle.rs` and `gc/mod.rs`: `gc/mod.rs:216-217` only declares and imports the failure-attribution module, while `gc/cycle.rs:1414-1417` reads the trigger and diagnostic counters immediately before evacuation verification inside `atomic_finalize_minor_prelude`. Full cycles bypass `MinorPrelude` at `gc/cycle.rs:1192-1196`; evacuation remains guarded by the minor-only context at `gc/cycle.rs:1330-1372`. The snapshot store remains at `gc/cycle.rs:963-964` after synchronous full marking, and its take remains at `gc/cycle.rs:1454-1457` before sweep. No new write, relocation, collection, or JS callback was added to that full-cycle interval, so the PASS1_MARKED window is unaffected. Re-audited 2026-09-07 for the regex census rows: all new work is in `take_census` after `census_take_if_armed_at_full_sweep_start` has taken PASS1_MARKED out of TLS; neither boundary nor the intervening cycle control flow changed. Re-audited 2026-09-08 (train144) after #9976 and #9977 touched pinned files. `gc/mod.rs` gains exactly three lines: `mod copying_phase;` and `mod regex_census;` (declarations) and one `reg_scanner!(regex::site_test::scan_roots_mut)` registration. A scanner registration adds a root SOURCE for the mutable-root walks; it does not move either census boundary and runs nowhere between them. `gc/census.rs` widens `side_tables()` to `pub(super)`, extends it with regex rows and adds a test module \u2014 all census REPORTING, which runs from the diagnostic dump, not inside a cycle. Mark/sweep control flow between `census_pass1_if_armed` and `census_take_if_armed_at_full_sweep_start` is untouched. Re-audited 2026-09-08 for #9849 JSON construction deferral. `gc/mod.rs` adds the `json_defer` module/re-export and a trusted-header layout helper used only by already-validated JSON emitters; neither changes or runs in collector phase control flow. `gc/policy.rs` adds JSON completion scheduling, construction-grace checks, and safepoint deferral predicates. These are called from mutator-side JSON allocation/output boundaries and ordinary safepoint entry; they do not alter `step_mark_propagation`, `step_sweep`, or invoke callbacks or relocation between the census boundaries. The mark-complete to sweep-entry window is unchanged. The follow-up adds a cfg(test)-only one-shot boolean for deterministic explicit-pressure fixtures; it is absent from production builds and cannot affect the census window. The first predicate read consumes it, so post-parse accounting exercises normal pricing. Re-audited 2026-09-09 for bounded tiny-JSON completion polling. The policy.rs changes split the mutator-side pending-parse check into an inlined empty fast path plus an outlined debt-service path, and amortize the mutator-side arena-pressure read across 64 bounded parse completions. Neither function is reachable from step_mark_propagation or step_sweep; neither census boundary nor the synchronous full-cycle interval between them changes. Re-audited 2026-09-09 for lazy JSON record batches: policy.rs only widens gc_budgeted_cycle_active visibility from pub(super) to pub(crate). Its body remains a read-only Cell query. The new caller is lazy_get materialization in the mutator; run_to_completion, step_mark_propagation, census snapshot consumption at step_sweep, and the synchronous non-moving window are unchanged. Re-audited 2026-09-09 for completed JSON-output debt: the added gc_service_json_output_sweep function calls the existing trigger check from a rooted mutator boundary and reports whether its malloc-count request remains due. It is not called from any census or collector phase; the synchronous mark-complete to sweep-entry window is unchanged. Re-audited 2026-09-09 for the JSON byte-debt carry: the same mutator-only service helper now distinguishes requests satisfied before its call from those satisfied by its trigger check. The added enum contains no payload, both count reads are scalar, and no census boundary or collector phase changed. Re-audited 2026-09-11 for #10055: gc/mod.rs only registers the weak UTF-16 index scanner during gc_init. It neither marks strings nor allocates GC objects or runs JS; offset vectors use the Rust allocator. The mark-complete to sweep-entry census window and cycle control flow are unchanged. Re-audited 2026-09-11 for #10054: gc/mod.rs adds only the trim-cache mutable-root scanner registration in gc_init. Its scanner visits two existing string slots without allocating or invoking JS. Root scanning still precedes mark completion, and neither census boundary nor the synchronous mark-complete to sweep-entry window changes. Re-audited 2026-09-11 for #10060: the census array classifier now reads the logical element start and bounds its scan by the remaining capacity. The helper only reads the existing GC/header words and performs pointer arithmetic; it cannot allocate, collect, or call JS. This classifier runs in take_census after PASS1_MARKED has been taken out of TLS. Neither census boundary nor the mark-complete to sweep-entry control flow changed. Re-audited for #8512: gc/mod.rs only enables the existing PTY mutable-root scanner on Windows; it changes no mark/sweep phase or census boundary. The scanner visits NaN-boxed slots without running JS callbacks. Re-audited 2026-09-12 for the single regular-expression engine: `gc/mod.rs` changes `mod prefetch;` to `pub(crate) mod prefetch;` so the RegExp owner-table walks can prefetch headers, a visibility change with no new call in collector control flow; `gc/census.rs` changes only its `#[cfg(test)]` `regex_census_tests` module, dropping assertions for the previous engine's cache rows. Neither boundary (`census_pass1_if_armed` in `step_mark_propagation`, `census_take_if_armed_at_full_sweep_start` in `step_sweep`) nor the synchronous mark-complete to sweep-entry interval changes. Re-audited 2026-09-13 after the #10169 fix touched `gc/mod.rs` and `gc/policy.rs`. `gc/mod.rs` gains only `pub(crate) use` re-exports (`policy::note_young_leaf_born_old`, `policy::young_generation_holds_a_nursery`, `promote_in_place::{young_generation_measured_dying, young_generation_measured_retained}`, and cfg(test) survival seeders). `gc/policy.rs` gains a `Cell` thread-local (`GC_YOUNG_LEAF_BORN_OLD`, no pointer), its setter, a pure predicate over `copying_from_space_in_use_bytes` vs the base nursery cap, and a consumed-once branch at the top of `gc_budgeted_due_trigger` that may answer `YoungScavengeCap` ahead of `OldReclaim`. That branch decides WHICH collection a safepoint starts (a minor instead of a full); it runs before any cycle begins and never inside one, so the mark-complete \u2192 sweep-entry window of a synchronous full \u2014 where PASS1_MARKED is populated and consumed within one `run_to_completion` \u2014 is unchanged, and neither hunk adds an allocation, a JS callback, or a relocation to it. Re-audited 2026-09-13 for the heap generation (#10164 cross-call search positions): `gc/mod.rs` only declares `pub(crate) mod heap_generation;`. `gc/cycle.rs` wraps the `Sweep` and `Reclaim` arms of `GcCycleState::step` in a `HeapChange` scope and opens one inside `atomic_finalize_minor_prelude`'s evacuation branch (with a nested one around old-page defrag). Opening and closing a scope only increments two thread-local integer cells (`HEAP_GENERATION`, `OPEN_HEAP_CHANGES`); a first thread-local read may allocate a key through the global allocator, which neither relocates nor runs JS. The `Sweep` scope opens immediately before `step_sweep`, i.e. before `census_take_if_armed_at_full_sweep_start` takes PASS1_MARKED out of TLS, and adds no relocation, collection or JS callback to the synchronous mark-complete to sweep-entry window; the minor-prelude scope is unreachable from a full cycle, which bypasses `MinorPrelude`. Neither boundary nor the intervening control flow changed. Re-audited 2026-09-13 for #10182 block-granular reclamation, which touched `gc/cycle.rs`. Two hunks: (a) in the `RememberedSetRebuild` subphase of AtomicFinalize \u2014 INSIDE the window \u2014 the require-marked old-to-young rebuild is now constructed with `OldToYoungRememberedRebuildState::new_skipping`, whose cursor never enters blocks the census recorded as holding no reached, pinned or pre-marked object (`BlockCensus::unmarked_blocks`); computing that list reads `arena_block_snapshots()` and allocates one `Vec` through the global allocator. It visits a subset of the same objects the rebuild already walked (every skipped object would have been rejected as unmarked), and it neither allocates a GC object, relocates anything, nor runs a JS callback. (b) In `step_sweep`, `IncrementalSweepState::with_block_skip` runs after `census_take_if_armed_at_full_sweep_start` has already taken PASS1_MARKED out of TLS. Neither boundary moved and the synchronous mark-complete to sweep-entry interval gains no relocation, collection or callback. Re-audited 2026-09-11 for the startup memory profile: gc/mod.rs only retains the pre-main allocator-policy constructor in js_gc_init. The constructor applies process allocation options, without invoking GC or JS. No census boundary, collector phase, or mark-complete to sweep-entry control flow changed. Re-audited 2026-09-13 for #10179: census.rs only adds a native regex cache metadata row and its unit assertion; snapshot consumption and the full-cycle window are unchanged. Re-audited 2026-09-14 for the GC due-check fast path, which touched `gc/mod.rs` and `gc/policy.rs`. `gc/mod.rs` only changes the safepoint re-exports: `gc_runtime_safepoint` becomes cfg(test) and `gc_runtime_safepoint_poll` is added. `gc/policy.rs`: the budgeted step returns a debt-free `GcStepReport` (debt is attached by the FFI and test entry points after the step returns) and moves cycle start/step into an out-of-line `gc_budgeted_start_or_step`; `gc_check_trigger` reuses a repeatable due-trigger answer through `DueTriggerMemo`, placed after its `GC_FLAG_IN_ALLOC` and suppression early returns; the young scavenge cap reuses the old-gen pressure value the due trigger already read and checks the census-seeded flag first. All of it runs from mutator safepoints, allocation-point trigger checks and the host step API, before a cycle starts or between budgeted steps. None of it is reachable between `census_pass1_if_armed` in `step_mark_propagation` and `census_take_if_armed_at_full_sweep_start` in `step_sweep` of a synchronous full: an allocation inside that window reaches `gc_check_trigger` with `GC_FLAG_IN_ALLOC` set and returns before the changed code. No allocation, relocation, collection or JS callback is added to the window. Re-audited 2026-09-14 for the tiny-parse nursery-cap boundary, which touched `gc/policy.rs`. It adds `tiny_parse_generational_collection_due`, a pure predicate (the existing `tiny_parse_pressure_due` OR the existing `young_scavenge_cap_due` read), and calls it instead of `tiny_parse_pressure_due` from `gc_bump_malloc_trigger_inner` and `gc_collect_pending_suppressed_parse_slow` (generational branch only) and from `gc_schedule_parse_boundary_collection_if_pressure`. All three are JSON.parse mutator-side boundaries, none reachable from `step_mark_propagation` or `step_sweep`; the predicate reads counters and allocates nothing. Neither census boundary nor the synchronous mark-complete to sweep-entry interval changed. Re-audited 2026-09-13 for #10182's full-collection throughput follow-up, which touched `gc/cycle.rs` in one hunk, INSIDE the window: the `RememberedSetRebuild` subphase of a synchronous full now first asks `verify::full_remembered_rebuild_provably_empty` and, when it holds, installs `OldToYoungRememberedRebuildState::provably_empty()` (an empty sticky set, no walk) instead of the require-marked rebuild. The predicate reads `arena_block_snapshots()` (one `Vec` through the global allocator), the census's per-block reached/pre-marked facts and the malloc registry's length; the constructor bumps a `Cell` counter and prints one line under `PERRY_GC_DIAG`. None of it allocates a GC object, relocates anything, collects, or runs a JS callback, and both census boundaries stay where they were. Re-audited 2026-09-14 for #10182's pacing-full work, which touched `gc/cycle.rs`, `gc/mod.rs` and `gc/policy.rs`. `gc/cycle.rs`: `GcCycleState::new_full` no longer calls `materialize_all_promoted_page_runs`; that call ran in the constructor, before the census and far before `census_pass1_if_armed`, and removing it adds nothing to the window. `gc/mod.rs`: one `mod promoted_cohort;` declaration. `gc/policy.rs`: (a) `credit_promoted_bytes_to_old_baseline` also credits a `Cell` cohort counter (it runs after a copying minor completes); (b) `finish_full_old_reclaim_baseline` also records the verified old live bytes and resets that counter (Publish, after `step_sweep` consumed the snapshot); (c) `gc_safepoint_moving_minor` arms and disarms the promotion-census record around its nursery minor and calls `run_promoted_cohort_full_if_due`, which starts a synchronous full through the same `gc_collect_full_mark_sweep_with_trigger` entry and reads byte counters before and after it. All of it runs before a cycle starts or after it completes; none of it runs between mark completion and sweep entry, allocates a GC object, relocates anything, or calls into JS. The census the promoted-cohort full may adopt from the promotion walk is built in `BuildValidPointerSet`, before either boundary. Both boundaries are unchanged. Re-audited 2026-09-14 for the #10182 dead-stack scrub in `gc/cycle.rs`: `step_build_valid_pointer_set` now calls `scrub_dead_stack_below`, which zeroes a local array in its own frame (dead stack below the caller), right after the census finishes \u2014 in `BuildValidPointerSet`, before the root scan and far before `census_pass1_if_armed`. It writes no heap memory, allocates nothing, relocates nothing and calls no JS; both boundaries are unchanged. Re-audited 2026-09-14 for #10241 (cohort survival), which touched `gc/cycle.rs` and `gc/policy.rs`. `gc/cycle.rs`: one call, `promoted_cohort::survival::check_minor_view_at_full_sweep_start()`, in `step_sweep` immediately AFTER `census_take_if_armed_at_full_sweep_start` has taken PASS1_MARKED out of TLS, i.e. outside the window. It is a no-op unless a promoted-cohort full armed its survival probe; when armed it walks the old page index over the preceding minor's dirty pages (`old_arena_walk_objects_on_pages`, Rust-allocator Vecs), reads GC headers' mark flags and the slots of unmarked ones, and records one enum. It writes no heap memory, allocates no GC object, relocates nothing and calls no JS. `gc/policy.rs`: `run_promoted_cohort_full_if_due` arms the probe before `gc_collect_full_mark_sweep_with_trigger` and takes it after the full returns (feeding `note_full_measured_promotion_survival` and one diagnostic line); both run before a cycle starts or after it completes. Both boundaries are unchanged. Re-audited 2026-09-14 for #10241's in-place-only cohort: `gc/policy.rs` drops the `promoted_cohort::note_promoted` call from `credit_promoted_bytes_to_old_baseline` (the copying minor now calls `promoted_cohort::note_minor_promotion` itself, after the credit). Both run at the end of a copying minor, outside any full cycle; the mark-complete to sweep-entry window is unchanged. Re-audited 2026-09-14 for the parse-boundary side-allocation band (medium-parse pacing), which touched `gc/policy.rs`. Three hunks: (a) a `Cell` thread-local (`GC_LAST_COLLECTION_EXTERNAL_SIDE_BYTES`, a byte COUNT, no pointer) plus three pure predicates over it and `external_side_live_bytes()`; (b) that predicate added as a third disjunct of `tiny_parse_generational_collection_due`, which is read only from the three JSON.parse mutator-side boundaries (`gc_bump_malloc_trigger_inner`, `gc_collect_pending_suppressed_parse_slow`, `gc_schedule_parse_boundary_collection_if_pressure`), none of them reachable from `step_mark_propagation` or `step_sweep`; and (c) one extra `Cell` store in `note_collection_finished_arena_occupancy` plus two extra reads in the `PERRY_GC_DIAG` tiny-parse line. `note_collection_finished_arena_occupancy` runs from `publish_reclaim_outcome` in the Publish subphase, i.e. AFTER `step_sweep` has already `take()`n the snapshot out of the thread-local, exactly as #9831's store on the same line does. Nothing added allocates a GC object, relocates anything, or runs a JS callback, and neither census boundary moved. Re-audited 2026-09-14 for the drained-bytes counterweight to that band, which touched `gc/policy.rs` again. Four hunks: a second `Cell` thread-local (`GC_EXTERNAL_SIDE_DRAINED_SINCE_FULL`, a byte COUNT); one increment of it inside `gc_note_external_side_free`; a pure read (`external_side_old_reclaim_pressure_bytes`) substituted for `external_side_live_bytes()` at the four old-reclaim pressure sites; and one `Cell` store at the top of `finish_full_old_reclaim_baseline`. None of it can run between the census boundaries. `gc_note_external_side_free` is also reached by mutator-side tape materialization, regex scratch teardown, native-addon adjustments and buffer replacement. Its added operation is only a saturating increment of a scalar Cell, with no GC allocation, relocation, collection or JS callback, so this wider caller set does not invalidate the census window. `finish_full_old_reclaim_baseline` runs from `publish_reclaim_outcome` in the Publish subphase, the same place #9831's store already sits. The pressure reads happen at trigger decisions, before a cycle starts. No allocation, relocation, collection or JS callback is added to the mark-complete -> sweep-entry window, and neither boundary moved. Re-audited 2026-09-15 for turnloop P0, which touched `gc/mod.rs` with one added call: `crate::event_pump::shutdown_wait_driver()` inside `js_gc_release_current_thread_collection_side_allocations`, the process-exit funnel. That function runs once no more JavaScript can run on the thread, never from inside a collection cycle; the added call drops the thread's turnloop wait loop (closing its kqueue/epoll descriptor) and may print a diagnostic line. It allocates no GC object, relocates nothing, starts no collection and runs no JS callback. The census boundaries and the mark-complete -> sweep-entry window are untouched.. Re-audited 2026-09-16 for the copying minor's per-parent weak-holder fact: `gc/mod.rs` gains exactly one line, `mod copying_parent_facts;`, a module declaration. The module it declares holds `weak_holder_fact` (a read of the parent's `obj_type`/`class_id` via `weakref::is_weak_holder_header`) and the copying minor's `visit_slot_with_parent`, moved verbatim out of `gc/copying.rs` for the 2000-line lint. Both run only inside a COPYING MINOR, which skips both census boundaries (`census_pass1_if_armed` in `step_mark_propagation` and `census_take_if_armed_at_full_sweep_start` in `step_sweep` are synchronous-full only). Nothing was added to any full-cycle phase, and the declaration itself executes no code. Neither boundary moved and the synchronous mark-complete to sweep-entry window gains no allocation, relocation, collection or JS callback. Re-audited 2026-09-18 for the #10532 follow-up argument-list rooting fix, which touched `gc/mod.rs`. The only change there is `mod collection_points;` plus a `pub(crate) use collection_points::collection_point;` re-export (and, under `#[cfg(test)]`, `arm_collection_point`). `collection_point` is an inline no-op outside `cfg(test)`; under test it only runs a copying minor when called from ordinary MUTATOR code (`proxy.rs`'s `Reflect.apply` rebind path and `registry.rs`'s rest-array bundler), never from inside `step_mark_propagation` or `step_sweep`. Neither `census_pass1_if_armed` nor `census_take_if_armed_at_full_sweep_start` is reachable from it, so the mark-complete to sweep-entry window is unchanged. Re-audited 2026-09-18 (same PR, round 2) for the added `arm_collection_point_after` re-export in `gc/mod.rs`: another pure re-export line, same as the `collection_point`/`arm_collection_point` one already covered above. `arm_collection_point_after` only changes test-only arming state in `collection_points.rs` (which named site fires and on which hit); it still runs no mark/sweep control flow. Re-audited 2026-09-19 for #10735 (require.main threading): gc/mod.rs gains exactly one line, `reg_scanner!(crate::module_require::scan_cjs_main_module_root_mut);`, registering the new CJS_MAIN_MODULE thread-local's mutable-root scanner beside the existing `scan_module_path_roots_mut` registration. A scanner registration adds a root SOURCE for the mutable-root walks; it runs during root scanning, before mark propagation completes, and does not execute between `census_pass1_if_armed` and `census_take_if_armed_at_full_sweep_start`. Neither census boundary moved and the synchronous mark-complete to sweep-entry window is unchanged. Re-audited 2026-09-20 for #10834 (inherited-property read cache). `gc/mod.rs` gains exactly one line: `reg_scanner!(crate::object::inherited_read_cache::scan_inherited_read_cache_roots_mut);` in `gc_init()`. A scanner registration adds a root SOURCE for the mutable-root walks. The walk runs inside `RootScanCycleState::step_current_subphase`, i.e. entirely within the RootScan phase: `step_root_scan` only sets `self.phase = GcCyclePhase::MarkPropagation` once that loop reports done (`gc/cycle.rs:958-961`), and `census_pass1_if_armed()` fires at the END of `step_mark_propagation` (`gc/cycle.rs:982`). The scanner therefore runs strictly BEFORE the window opens and can never execute between the boundaries. Its body is a bounded walk of a fixed 512-entry thread-local array calling `visit_tagged_usize_slot` / `visit_usize_slot`; it allocates nothing, relocates nothing and runs no JS callback. Same shape as #9769, #9976/#9977, #10054, #10055 and #10735, all previously cleared. The PR also adds an `INHERITED_READ_CACHE` entry to `DEAD_KEY_PRUNES` in `gc/dead_owner.rs` (not a pinned source). That registry is consumed by `IncrementalSweepState::with_dead_collection_finalize` at `gc/cycle.rs:1548`, which is AFTER `census_take_if_armed_at_full_sweep_start` at `gc/cycle.rs:1505` has already `take()`n the snapshot out of the thread-local -- the same argument that cleared #9845's `collect_dead_registered_regexps_post_trace`. The prune reads addresses and zeroes entries; no GC allocation, relocation or callback. Both additions sit outside the window, on opposite sides of it. Neither boundary moved and the synchronous mark-complete to sweep-entry interval is unchanged. Re-audited 2026-09-22 for #10399 (per-thread module init), which touched `gc/mod.rs`. Two hunks, both init-time: a new free function `raise_default_thread_stack_floor()` and one call to it at the top of `js_gc_init`, before `enter_current_thread_image`'s successor statements. The function reads `RUST_MIN_STACK` from the environment and, only when it is unset, sets it to 32 MiB so a thread spawned against a multi-megabyte static TLS block still has usable stack (glibc carves static TLS out of the thread's stack mapping). It touches no heap object, allocates no GC object, relocates nothing and runs no JS callback. `js_gc_init` is the first runtime call of a compiled `main`, so it runs once before any cycle exists, and it is not reachable from `step_mark_propagation` or `step_sweep`. Same shape as the 2026-09-11 startup-memory-profile re-audit, which cleared the pre-main allocator-policy constructor in the same function. Neither census boundary moved and the synchronous mark-complete to sweep-entry window is unchanged. Re-audited 2026-09-23 (size/runtime-decouple, #11135) after the binary-size branch touched `gc/census.rs`, `gc/mod.rs` and `gc/policy.rs`. census.rs: `census_pass1_if_armed` / `census_take_if_armed_at_full_sweep_start` keep their bodies verbatim, moved into `_impl` functions compiled only with the new `gc-instruments` feature (without it both are empty and `census_path()` is `None`, so nothing is ever armed); the take still empties PASS1_MARKED before `take_census`. gc/mod.rs: `gc_init` gains a startup env check that aborts when an instrument knob is set without the feature, before any cycle exists. gc/policy.rs: env-knob OnceLock caches now initialize through `crate::once_init::get_or_init` (same closures, same values). No mark/sweep control flow between the two census boundaries changed; the window is unchanged. Re-audited for Fetch handle reclamation: cycle.rs only redirects the incomplete-cycle Drop cancellation hook to also cancel the Fetch trace. The full-trace finish hook removes native records and cached slots without allocating GC objects or invoking JS; it cannot relocate the census addresses before sweep entry. Re-audited 2026-09-22 for #10928 (one proportional old-reclaim rule), which touched `gc/policy.rs`. Six hunks. (a) Two new thread-locals, `GC_OLD_RECLAIM_PRE_IN_USE_BYTES` (`Cell`) and `GC_OLD_RECLAIM_BACKOFF_SHIFT` (`Cell`): both are byte/shift COUNTS, neither holds a pointer. (b) `gc_old_reclaim_growth_band_bytes` gains a `Cell` read and a left shift -- pure arithmetic over byte counts. (c) `old_reclaim_pressure_due` loses the #7937 absolute first-crossing arm, splits its pure form out as `old_reclaim_pressure_due_inner`, and calls `note_old_reclaim_cycle_started()` when the answer is true. That predicate is read at TRIGGER decisions only -- the allocation-point `gc_check_trigger` and `gc_budgeted_due_trigger` at safepoints -- i.e. before a cycle starts, never between the boundaries; an allocation inside the window reaches `gc_check_trigger` with `GC_FLAG_IN_ALLOC` set and returns before this code, the same argument the 2026-09-14 due-check fast-path re-audit made for the same function. Even if it did run there it would be sound: `note_old_reclaim_cycle_started` stores one scalar `Cell` from `pacing_arena_in_use_bytes()` (a read of `arena_live_allocated_bytes`), which allocates no GC object, relocates nothing and runs no JS callback -- the window's contract. (d) `update_old_reclaim_backoff` is called only from `finish_full_old_reclaim_baseline`, which runs from `publish_reclaim_outcome` in the Publish subphase, AFTER `step_sweep` has already `take()`n the snapshot out of the thread-local -- exactly where #9831's store and the medium-parse pacing store already sit. (e) `gc_old_reclaim_debt_bytes` drops the absolute arm it mirrored; it remains pure arithmetic read at debt/trigger decisions. (f) `#[cfg(test)]` seams, absent from production builds. `census_pass1_if_armed` is still inside `step_mark_propagation` and `census_take_if_armed_at_full_sweep_start` inside `step_sweep`. Nothing added allocates a GC object, relocates anything, collects, or invokes a JS callback between them; the change alters only WHEN a collection is scheduled, never what runs inside one. Neither boundary moved and the mark-complete to sweep-entry window is unchanged. Re-audited 2026-09-24 for #10960 (growth-aware old-reclaim backoff), which touched `gc/policy.rs` again. One new thread-local, `GC_OLD_RECLAIM_LAST_POST_IN_USE_BYTES` (`Cell`), a byte COUNT that holds no pointer. It is written only by `update_old_reclaim_backoff`, which runs from `finish_full_old_reclaim_baseline` in the Publish subphase, after `step_sweep` has already taken the snapshot out of the thread-local; the change there is pure integer arithmetic deciding whether to widen the band. Nothing added allocates a GC object, relocates anything, collects, or invokes a JS callback, and neither window boundary moved. Re-audited 2026-09-24 after the class-capture environment added one `reg_scanner!` registration (`scan_class_env_roots_mut`, visiting each guarded class environment's owner class object) to `gc/mod.rs`: a root-scanner registration alters no mark/sweep control flow and runs nothing inside the mark-complete to sweep-entry window. Re-audited 2026-09-25 after the inherited-access lane touched `gc/mod.rs`: the change is one `reg_scanner!` registration for `object::chain_store::scan_chain_store_roots_mut`, a root scanner that visits store-site chain verdicts (one interned key pointer each) during root scanning. It runs at the start of a cycle, never between mark completion and sweep entry, relocates nothing and runs no JS callback. The synchronous mark-complete to sweep-entry window is unchanged. Re-audited 2026-09-25 for #10698 (allocation-point trigger watermark), which touched `gc/mod.rs` and `gc/policy.rs`. `gc/mod.rs` gains `pub(crate) mod trigger_watermark;` and a `pub(crate) use` re-export -- no control flow. In `gc/policy.rs`: (a) `gc_check_trigger` becomes an out-of-line wrapper over an inlined fast path that reads the watermark cell, the malloc registry's length through an unguarded shared borrow and the inline allocator's offset, then either returns or runs the previous body unchanged (`gc_check_trigger_evaluate`). An allocation inside the window reaches it with `GC_FLAG_IN_ALLOC` set: the fast path returns without acting, which is the outcome of the `GC_FLAG_IN_ALLOC` early return it would otherwise reach, and the slow path still takes that early return. (b) The due-trigger evaluation also returns a watermark -- integer arithmetic over values it already read -- published only on the no-action return past every entry guard. (c) The ladder's thresholds and flags are retyped `Cell` -> `TriggerInput`, whose writes add one store retiring the watermark; heap-generation advances and `Arena::set_current` retire it too. (d) `#[cfg(test)]` seams. Nothing added allocates a GC object, relocates anything, collects, or invokes a JS callback; `census_pass1_if_armed` is still inside `step_mark_propagation` and `census_take_if_armed_at_full_sweep_start` inside `step_sweep`, so the mark-complete to sweep-entry window is unchanged. Re-audited 2026-09-25 for #10498 (class-accessor cache), which adds one `reg_scanner!` registration (`scan_class_accessor_cache_roots_mut`, marking and rewriting the cache's key strings) to `gc/mod.rs`: again a root-scanner registration, altering no mark/sweep control flow and running nothing inside the mark-complete to sweep-entry window. Re-audited 2026-09-26 for #10572: `gc/mod.rs` gains one `#[cfg(not(feature = \"hot-diag\"))]` call to `hot_diag::refuse_knobs_without_hot_diag()` in `gc_init`, a startup-only knob check that runs before any cycle and alters no mark/sweep control flow; the mark-complete to sweep-entry window is unchanged. Re-audited 2026-09-27 for #11416: `gc/mod.rs` loses the `reg_scanner!` registration for `class_accessor_cache::scan_class_accessor_cache_roots_mut` (the cache is deleted); removing a root-scanner registration alters no mark/sweep control flow and runs nothing inside the mark-complete to sweep-entry window. Re-audited 2026-09-27 for the method-calls lane, which adds one `reg_scanner!` registration (`scan_method_site_roots_mut`, marking and rewriting the method closures inherited method-site entries hold) to `gc/mod.rs`: a root-scanner registration, altering no mark/sweep control flow and running nothing inside the mark-complete to sweep-entry window. Re-audited 2026-09-28 (charter step 5, P0): the field-representation census adds `mod census_field_repr;` to `gc/mod.rs` and, in `census.rs`, one Rust-owned accumulator fed from `visit_object` inside `take_census`, which runs after `census_take_if_armed_at_full_sweep_start` has already taken PASS1_MARKED; it reads slots and the per-object layout maps (try_borrow), allocates nothing on the JS heap and alters no mark/sweep control flow. The window is unchanged. Re-audited 2026-09-27 for #11416: `gc/mod.rs` loses the `reg_scanner!` registration for `class_accessor_cache::scan_class_accessor_cache_roots_mut` (the cache is deleted); removing a root-scanner registration alters no mark/sweep control flow and runs nothing inside the mark-complete to sweep-entry window. Re-audited 2026-09-27 for the method-calls lane, which adds one `reg_scanner!` registration (`scan_method_site_roots_mut`, marking and rewriting the method closures inherited method-site entries hold) to `gc/mod.rs`: a root-scanner registration, altering no mark/sweep control flow and running nothing inside the mark-complete to sweep-entry window. Re-audited 2026-09-27 (class constructors as function objects, #11414): `gc/mod.rs` gains one `reg_scanner!` registration (`object::class_value::scan_class_value_roots_mut`, the per-agent class function-object table, visited and rewritten) \u2014 a root-scanner registration that alters no mark/sweep control flow and runs nothing inside the mark-complete to sweep-entry window. Re-audited 2026-09-29 after #11659 added `verify::verify_array_hole_tails_at_collection()` to `gc/mod.rs` and `gc/policy.rs`. Every call sits at a collection or budgeted-cycle ENTRY, beside `roots::ensure_stack_maps_built()`, i.e. before mark begins and so before `census_pass1_if_armed` opens the window. The call is a read-only walk of array headers (debug builds, or release with PERRY_GC_VERIFY_ARRAY_HOLES): it neither allocates GC memory, relocates, runs JS, nor reads or writes PASS1_MARKED, and it panics rather than continuing on a violation. Mark/sweep control flow between `census_pass1_if_armed` and `census_take_if_armed_at_full_sweep_start` is untouched. Pin re-audited 2026-09-29 after PR #11646 added one call inside that window, in `cycle.rs` beside `census_take_if_armed_at_full_sweep_start`: `object::shapes::store_kind::audit_heap_at_full_sweep_start()`. It compiles to nothing unless the `shape-fact-audit` feature is on; when on it walks the arena read-only (`gc::for_each_live_object_at_sweep_start`, in `gc/verify.rs`) and reads each marked object header and its shape record. It allocates no GC object, moves nothing, runs no JS callback and holds no address past the walk, so PASS1_MARKED stays valid across it; a disagreement panics rather than continuing. Re-audited 2026-09-29 after the pinned-roots fix touched `gc/cycle.rs` and `gc/mod.rs`: the block-persistence live-block predicate now reads GC_FLAG_MARKED alone (pinned objects are marked as roots, so the set of live blocks is unchanged), and `gc/mod.rs` adds one `reg_scanner!` registration. Neither relocates, runs JS, or moves the mark-complete to sweep-entry window. Re-audited again 2026-09-29 (same fix, copying-minor follow-up): `BlockPersistCycleState`'s force-mark in `gc/cycle.rs` no longer skips an unmarked pinned header, so it marks and pushes it like any other object of a live block. That is marking inside the budgeted cycle's persistence step: nothing relocates, no JS runs, and the budgeted path still skips both census boundaries. The window is unchanged. Re-audited 2026-09-29 for this-as-a-parameter stage 3: `gc/mod.rs` registers `scan_dispatch_binding_roots_mut` in place of `scan_implicit_this_roots_mut` (the implicit-`this` cell is deleted; the same scanner body keeps `new.target`, the static-`this` override and the static private-owner stack) and rewords its comment; a root-scanner registration, altering no mark/sweep control flow and running nothing inside the mark-complete to sweep-entry window. Re-audited 2026-09-28 for the JsFunctionInfo lane: `gc/census.rs`'s `side_tables()` loses its `closure_registry_census()` row (the closure-body registry is deleted); a census report row, altering no mark/sweep control flow and running nothing inside the mark-complete to sweep-entry window. Re-audited 2026-09-29 for the read-site holder entry: `gc/mod.rs` adds one `reg_scanner!` registration, `read_holder::scan_read_holder_roots_mut`, which visits the holder and hop words of registered read-site caches during ROOT SCAN, before mark propagation completes. It rewrites root slots only through the visitor (as every registered scanner does), runs no JS, and nothing it does executes between `census_pass1_if_armed` and `census_take_if_armed_at_full_sweep_start`. The window is unchanged. Re-audited 2026-09-30 for Step 5 P4: census.rs only removes the typed-layout count, and gc/mod.rs removes shape-install registration/re-export and an init-time typed-intact verifier gate. The snapshot remains stored after mark propagation and taken at sweep entry; none of these edits relocates objects or invokes callbacks in that interval. Re-audited 2026-09-29 (#11549 trace cost): `gc/mod.rs` gains one `mod copying_object_scan;` declaration, the copying minor's plain-object slot walk. It is reached only from the copying drain, never from a full cycle, and changes no mark or sweep control flow. The window is unchanged. Re-audited 2026-09-30 after rebasing P4 over #11549/#11676: gc/mod.rs retains the copying_object_scan declaration and P4 removes typed-layout registration; both are module wiring outside the synchronous full mark-complete to sweep-entry window. The census boundaries and the window owner in cycle.rs are unchanged. Re-audited 2026-09-30 for the scope-context change: gc/mod.rs only removes the box root-scanner registration and exit-time box statistics. The former ran during root scan, before mark completion, and the latter runs at process exit. Neither changes the synchronous mark-complete to sweep-entry window. Re-audited 2026-09-28 for #11605 (link-time runtime feature installs): `gc/mod.rs` registers the interpreter root scanner through its always-present forwarder (`dyn_eval_hooks::scan_dyn_eval_roots_mut`, which calls the real scanner through a slot the `dyn-eval` install fills) instead of a feature-gated direct registration, and `js_gc_init` ends by running the program\u2019s feature installer, which only stores fn pointers into `Hook` slots at startup, before any user code or collection. Neither alters mark/sweep control flow or runs inside the mark-complete to sweep-entry window. Re-audited 2026-10-01 after main integration: the pinned census, cycle, policy and progress files are byte-identical to current main. The only gc/mod.rs delta replaces the interpreter scanner registration with its installed-slot forwarder and invokes the installer at js_gc_init startup, before user code and any collection. No change executes between mark completion and sweep entry. Re-audited 2026-09-28 for the release-runtime instrument strip: every changed line in `gc/census.rs`, `gc/cycle.rs`, `gc/mod.rs` and `gc/policy.rs` renames a `feature = \"diagnostics\" | \"gc-instruments\" | \"hot-diag\"` gate to the build-script cfg `perry_diagnostics` / `perry_gc_instruments` / `perry_hot_diag`, which `perry-runtime/build.rs` sets exactly when the feature is on unless PERRY_RELEASE_STRIP_INSTRUMENTS=1. With the cfg set the compiled code is unchanged; with it unset (release packages) the census that fills this snapshot is not compiled, so the window never opens. No mark/sweep control flow changes. Re-audited 2026-10-01 while integrating the repaired #11605 parent: all five pinned files are byte-identical to that reviewed parent after normalizing only the diagnostics/instrument cfg names; its current census_field_repr module and startup installer hooks remain intact. The synchronous mark-complete to sweep-entry window is unchanged. Re-audited for A2 inherited-read-cache deletion: gc/mod.rs removes only its old root-scanner registration and adjacent comments. The method-site and read-holder scanners still run during root scan before mark completion; no collection phase or callback was added inside the mark-complete to sweep-entry window. Re-audited 2026-09-30 for the setter-site root scanner: gc/mod.rs adds only its reg_scanner! registration in the root-scan setup. That scanner visits per-site key and holder slots before mark propagation completes; it runs no JS and adds no relocation or callback between census pass1 and sweep entry. The synchronous-full snapshot window and both boundaries remain unchanged. Re-audited 2026-10-01 against main a8f4f3dd76: census.rs, cycle.rs, policy.rs and progress.rs are byte-identical to reviewed #11629 head 85e0fe18ec. The only pinned-file delta in gc/mod.rs removes the deleted inherited-read-cache scanner, retains chain-store/method-site/read-holder scanners, and registers the setter-site scanner during gc_init. These registrations run during root scanning before mark completion. Both link-time feature installers and release instrument cfgs are preserved; neither census boundary nor the non-moving synchronous-full interval changes. Re-audited 2026-09-28 for #11605 (link-time runtime feature installs): `gc/mod.rs` registers the interpreter root scanner through its always-present forwarder (`dyn_eval_hooks::scan_dyn_eval_roots_mut`, which calls the real scanner through a slot the `dyn-eval` install fills) instead of a feature-gated direct registration, and `js_gc_init` ends by running the program\u2019s feature installer, which only stores fn pointers into `Hook` slots at startup, before any user code or collection. Neither alters mark/sweep control flow or runs inside the mark-complete to sweep-entry window. Re-audited 2026-10-01 after main integration: the pinned census, cycle, policy and progress files are byte-identical to current main. The only gc/mod.rs delta replaces the interpreter scanner registration with its installed-slot forwarder and invokes the installer at js_gc_init startup, before user code and any collection. No change executes between mark completion and sweep entry. Re-audited 2026-10-01 while integrating main 7b5912d4e7 into #11605: census.rs, cycle.rs, policy.rs and progress.rs are byte-identical to that main. The only gc/mod.rs differences register the existing interpreter root scanner through its installed-slot forwarder and run the selected feature installer at js_gc_init startup before user code. The current main method/read-holder/setter-site scanners are preserved. No work was added between mark completion and sweep entry; the synchronous non-moving snapshot window is unchanged. Re-audited 2026-10-02 for the SPECIAL ConstFn verifier: gc/mod.rs adds only a feature-gated forwarding-helper re-export. The helper follows existing validated forwarding and runs no JS, allocation or collection. No holder, scanner registration or mark/sweep control flow is added; both census boundaries and their synchronous window remain unchanged. Re-audited 2026-10-03 for the prototype-in-shape lane: gc/mod.rs adds one reg_scanner! registration, scan_shape_prototype_words_mut, which visits the shape records' prototype words and their identity-index values as strong roots during root scanning (before mark propagation). It runs no JS, performs no GC allocation or collection, and adds no relocation or callback between census pass1 and sweep entry; both census boundaries and their synchronous window remain unchanged. Re-audited 2026-10-04 for #11781: idle-Eden advice runs at collection entry, before mark propagation and snapshot creation, on empty blocks while preserving mappings and object-start metadata. The other gc/mod.rs hunk advances pooled-block reuse after the copying minor; minor cycles skip this census. In cycle.rs, page-directory shrinking runs in reclaim and pooled-block reuse advances in publish, after sweep-entry census consumption. No hunk adds callbacks, relocation or a mutator return between census_pass1_if_armed and census_take_if_armed_at_full_sweep_start. Synchronous full snapshots remain consumed in the same run_to_completion invocation; budgeted and minor cycles still skip both census boundaries.", "window": { "start": { "file": "crates/perry-runtime/src/gc/census.rs", @@ -359,8 +359,8 @@ }, "sources": { "crates/perry-runtime/src/gc/census.rs": "34d3054f47720478dfe90708c8a65895cb21d1e10d83b71dcce4742e3f480a59", - "crates/perry-runtime/src/gc/cycle.rs": "ecc6ff4833cd3a49ad2a4cb93df4de58032e0b0bacd07892263cc0043145c991", - "crates/perry-runtime/src/gc/mod.rs": "d0e25319e6dfedea92bb9ee8a082efaf12a8ff8cfa07f8335c0b481b0efef6c3", + "crates/perry-runtime/src/gc/cycle.rs": "c0f470d192a4be4eb279dc1ee1fc16b751c535bcff1fc4df872053e470b35a3c", + "crates/perry-runtime/src/gc/mod.rs": "54845d4e876fd08fb8409288d202bb99719f43d304b4dd0635da8756d1d1a5d7", "crates/perry-runtime/src/gc/policy.rs": "59bd224294917f513b792398f9a399da577c9133653960a0c0b2d362cce19682", "crates/perry-runtime/src/gc/progress.rs": "a5ad3971bbe4047229ca57325234780daa85921dbc778e1c08dff4ad07ccfb96" } diff --git a/scripts/thread_exit_address_globals.json b/scripts/thread_exit_address_globals.json index 2082b00809..45c0fc03f4 100644 --- a/scripts/thread_exit_address_globals.json +++ b/scripts/thread_exit_address_globals.json @@ -4051,6 +4051,14 @@ ], "verdict": "no_heap_address", "why": "Holds the address of the generated seed unit's `extern \"C\" fn()` (a code address in the program image, stored by js_shape_register_static_seed from a global_ctors entry before any heap exists), or 0 for none. It is never an arena or heap address, so an exited thread's Arena::drop cannot leave it dangling." + }, + { + "file": "crates/perry-runtime/src/arena/block/decommit.rs", + "names": [ + "SIZE" + ], + "verdict": "no_heap_address", + "why": "#11781: cached result of libc::sysconf(_SC_PAGESIZE), converted to Some(usize) only when positive. It contains a byte count or None, never an allocation or arena address; thread exit cannot leave a dangling reference." } ] } From da25030efa1af560c0f869681391ca13c3d53228 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralph=20K=C3=BCpper?= Date: Sun, 4 Oct 2026 09:28:08 +0200 Subject: [PATCH 2/3] docs: record durable target backup and RSS audit follow-up --- changelog.d/11879-gc-rss-audit-pins.md | 1 + .../perrymaster-target-backup-20261004.json | 9 +++ .../perrymaster-target-cleanup-20261004.json | 62 +++++++++++++++++++ 3 files changed, 72 insertions(+) create mode 100644 changelog.d/11879-gc-rss-audit-pins.md create mode 100644 docs/audits/gc-rss-instructions-2026-10-03/perrymaster-target-backup-20261004.json create mode 100644 docs/audits/gc-rss-instructions-2026-10-03/perrymaster-target-cleanup-20261004.json diff --git a/changelog.d/11879-gc-rss-audit-pins.md b/changelog.d/11879-gc-rss-audit-pins.md new file mode 100644 index 0000000000..58cb5e8f11 --- /dev/null +++ b/changelog.d/11879-gc-rss-audit-pins.md @@ -0,0 +1 @@ +Classify the cold-block page-size cache as a numeric byte count and re-audit the non-moving census snapshot window after #11781. Collection-entry page advice runs before snapshot creation; page-directory shrinking and reuse-window advancement run after sweep-entry consumption. Refresh only the affected GC source pins. Runtime behavior, root scanners, headers and shapes are unchanged. diff --git a/docs/audits/gc-rss-instructions-2026-10-03/perrymaster-target-backup-20261004.json b/docs/audits/gc-rss-instructions-2026-10-03/perrymaster-target-backup-20261004.json new file mode 100644 index 0000000000..f443cf78ef --- /dev/null +++ b/docs/audits/gc-rss-instructions-2026-10-03/perrymaster-target-backup-20261004.json @@ -0,0 +1,9 @@ +{ + "archive": "/root/rss-gc-codex-targets-20261004.tar.zst", + "bytes": 17159595631, + "sha256": "cf6335c857be9347542a0893c1c69d4566b9b84d1e06e3d00ad24e4dee0fc36e", + "transfer_sha256_matches": true, + "zstd_integrity": true, + "completed_utc": "2026-10-04T06:49:47Z", + "scope": "23 deleted Cargo target directories only; original paths listed in cleanup ledger. Durable backup survives rental shutdown." +} diff --git a/docs/audits/gc-rss-instructions-2026-10-03/perrymaster-target-cleanup-20261004.json b/docs/audits/gc-rss-instructions-2026-10-03/perrymaster-target-cleanup-20261004.json new file mode 100644 index 0000000000..a3808d6ec6 --- /dev/null +++ b/docs/audits/gc-rss-instructions-2026-10-03/perrymaster-target-cleanup-20261004.json @@ -0,0 +1,62 @@ +{ + "owner": { + "owner": "Codex RSS/GC /root thread", + "scope": "This historical workspace and its own completed sources, targets, products and evidence; preserve evidence before cleanup." + }, + "verified_mirror": "root@185.191.117.52:/root/rss-gc-codex-20261004/perrymaster-mirror", + "targets": [ + "/root/rss-header-20261002/target", + "/root/rss-header-20261002/perry-main69-base/target", + "/root/rss-header-20261002/perry/target", + "/root/rss-header-20261002/perry-base/target", + "/root/rss-header-20261002/primary-mainad0-v80-ffi-events/target", + "/root/rss-header-20261002/primary-latest2026-v31/target-gc", + "/root/rss-header-20261002/primary-latest2026-v31/source-gc/target", + "/root/rss-header-20261002/primary-latest2026-v31/source-base/target", + "/root/rss-header-20261002/primary-entry-eden-v32/source/target", + "/root/rss-header-20261002/primary-entry-once-main07-v45/source/target", + "/root/rss-header-20261002/perry-mainrefresh-base/target", + "/root/rss-header-20261002/perry-gc-runtime-main/target", + "/root/rss-header-20261002/primary-gc-runtime-v24/target-control", + "/root/rss-header-20261002/primary-gc-runtime-v24/source-elf/target", + "/root/rss-header-20261002/primary-gc-runtime-v24/source-control/target", + "/root/rss-header-20261002/primary-arena-geometry-v27/source/target", + "/root/rss-header-20261002/primary-mainad0-once-v74/source/target", + "/root/rss-header-20261002/perry-main69-window/target", + "/root/rss-header-20261002/perry-main69-gc/target", + "/root/rss-header-20261002/primary-mainad0-base-v77/source/target", + "/root/rss-header-20261002/primary-main07-v39/source-entry/target", + "/root/rss-header-20261002/primary-main07-v39/source-gc/target", + "/root/rss-header-20261002/primary-main07-v39/source-base/target" + ], + "deleted": [ + "/root/rss-header-20261002/target", + "/root/rss-header-20261002/perry-main69-base/target", + "/root/rss-header-20261002/perry/target", + "/root/rss-header-20261002/perry-base/target", + "/root/rss-header-20261002/primary-mainad0-v80-ffi-events/target", + "/root/rss-header-20261002/primary-latest2026-v31/target-gc", + "/root/rss-header-20261002/primary-latest2026-v31/source-gc/target", + "/root/rss-header-20261002/primary-latest2026-v31/source-base/target", + "/root/rss-header-20261002/primary-entry-eden-v32/source/target", + "/root/rss-header-20261002/primary-entry-once-main07-v45/source/target", + "/root/rss-header-20261002/perry-mainrefresh-base/target", + "/root/rss-header-20261002/perry-gc-runtime-main/target", + "/root/rss-header-20261002/primary-gc-runtime-v24/target-control", + "/root/rss-header-20261002/primary-gc-runtime-v24/source-elf/target", + "/root/rss-header-20261002/primary-gc-runtime-v24/source-control/target", + "/root/rss-header-20261002/primary-arena-geometry-v27/source/target", + "/root/rss-header-20261002/primary-mainad0-once-v74/source/target", + "/root/rss-header-20261002/perry-main69-window/target", + "/root/rss-header-20261002/perry-main69-gc/target", + "/root/rss-header-20261002/primary-mainad0-base-v77/source/target", + "/root/rss-header-20261002/primary-main07-v39/source-entry/target", + "/root/rss-header-20261002/primary-main07-v39/source-gc/target", + "/root/rss-header-20261002/primary-main07-v39/source-base/target" + ], + "free_bytes_before": 90698891264, + "free_bytes_after": 148935892992, + "completed_utc": "2026-10-04T06:40:01Z", + "active_target_references": [], + "restore_note": "Copy the corresponding target from the verified build-server perrymaster-mirror to the original absolute path before running a historical verifier that requires it." +} From 247a8b11c4ec2b1669d1c9c969b22ae2c699bd14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralph=20K=C3=BCpper?= Date: Sun, 4 Oct 2026 09:31:25 +0200 Subject: [PATCH 3/3] docs: preserve final-tree checks and preliminary GC performance results --- .../GC_PERFORMANCE_STATUS_20261004.md | 11 + ...er-unspecialized-preliminary-20261004.json | 159 ++++++++++++ .../landing-final-verification.json | 238 ++++++++++++++++++ 3 files changed, 408 insertions(+) create mode 100644 docs/audits/gc-rss-instructions-2026-10-03/GC_PERFORMANCE_STATUS_20261004.md create mode 100644 docs/audits/gc-rss-instructions-2026-10-03/frontier-unspecialized-preliminary-20261004.json create mode 100644 docs/audits/gc-rss-instructions-2026-10-03/landing-final-verification.json diff --git a/docs/audits/gc-rss-instructions-2026-10-03/GC_PERFORMANCE_STATUS_20261004.md b/docs/audits/gc-rss-instructions-2026-10-03/GC_PERFORMANCE_STATUS_20261004.md new file mode 100644 index 0000000000..2ef5edec21 --- /dev/null +++ b/docs/audits/gc-rss-instructions-2026-10-03/GC_PERFORMANCE_STATUS_20261004.md @@ -0,0 +1,11 @@ +# GC performance work after #11781 + +The RSS changes merged at ac575aed9d. The submitted tree 41e68ed202 is byte-identical. Fresh Linux build, runtime (4867 passed / five ignored), stdlib, FFI/events and selected GC integrations passed. Full gates were run and remain red: the original run has 22 failures. Four missing-Node failures and two hardcoded API-compiler-path failures pass after correcting the environment. Nine source audits also fail on clean pre-merge main; codegen's unused token_label and dark-test registration also reproduce there. Two RSS-owned audit updates (numeric page-size cache and census source pins) are in this follow-up. Missing cargo-xwin and the GC fixture-routing output mismatch remain unresolved. The accompanying verification records raw failures and reruns; it does not claim lint green. + +The separate pending-mark-frontier experiment is based on merged main, at a183e1932985d38fc67266c4c148a8941a6c2550. Linux runtime and selected GC integrations pass. The first matched application comparison uses full unspecialized runtime (--no-auto-optimize), 17 workloads, 238 correct executions (204 RSS/instruction plus 34 diagnostics). Trees RSS -14.87%, TypeScript -5.31%, but ring +2.81%, requests +4.16%, and TypeScript instructions +0.35%. It is NOT adopted. Normal-auto measurements and attribution of the regressions are still required; these percentages must not be combined with the earlier shipping comparison. + +Claude owns perf-class-value-scan, buffer classification and IC attribution. Codex owns pacing and conservative scan #11873. Dirty class roots must remain eligible while slots contain young references, even without another write; full collections must retain all strong roots. No root-scanner or remembered-set representation changes have been made here. + +The conservative old-reclaim scan stays enabled until native holders are proven safe. Read-only audit found unrooted Rust destination/chunk snapshots crossing callbacks in node_stream_readwrite.rs (unpipe_all_destinations/end_pipe_destinations) and node_submodules/stream_promises.rs (write_chunks_to_destination/direct_stream_promises_pipeline). These are candidate rooting gaps, not a proven diagnosis of #11842. Next: a detector that fails on the baseline with actual collection, then a scoped rooting fix and moving/budgeted collection coverage before changing the fallback. + +Perrymaster cleanup removed 23 completed Cargo targets, freeing 54.24 GiB before a 15.98 GiB compressed durable backup. The full workspace mirror was checksum-verified; the backup transfer hash and zstd integrity were verified. Sources, compiled programs and raw measurement evidence remain on the durable host. Restore target paths from the backup before running historical verifiers that need them. Build-server paths remain isolated under /root/rss-gc-codex-20261004. diff --git a/docs/audits/gc-rss-instructions-2026-10-03/frontier-unspecialized-preliminary-20261004.json b/docs/audits/gc-rss-instructions-2026-10-03/frontier-unspecialized-preliminary-20261004.json new file mode 100644 index 0000000000..9b589533a6 --- /dev/null +++ b/docs/audits/gc-rss-instructions-2026-10-03/frontier-unspecialized-preliminary-20261004.json @@ -0,0 +1,159 @@ +{ + "scope": "17 matched workloads, full unspecialized runtime (--no-auto-optimize), GC defaults; preliminary, normal-auto validation required before adoption", + "comparisons": [ + { + "case": "12_large_live_set", + "base_rss_bytes": 102916096, + "frontier_rss_bytes": 103157760, + "rss_bytes_percent": 0.23481652471544212, + "base_instructions": 3261315543, + "frontier_instructions": 3260528687, + "instructions_percent": -0.02412695090755479 + }, + { + "case": "14_grow_then_churn", + "base_rss_bytes": 111964160, + "frontier_rss_bytes": 111689728, + "rss_bytes_percent": -0.24510700567038635, + "base_instructions": 2716707865, + "frontier_instructions": 2698926757, + "instructions_percent": -0.6545093872284968 + }, + { + "case": "23-binary-trees", + "base_rss_bytes": 168534016, + "frontier_rss_bytes": 143478784, + "rss_bytes_percent": -14.866572692363778, + "base_instructions": 28069647875, + "frontier_instructions": 27934979445, + "instructions_percent": -0.4797652988014156 + }, + { + "case": "30-string-build", + "base_rss_bytes": 222085120, + "frontier_rss_bytes": 222060544, + "rss_bytes_percent": -0.011066027296202652, + "base_instructions": 17690057538, + "frontier_instructions": 17690897372, + "instructions_percent": 0.004747491624579325 + }, + { + "case": "31-json", + "base_rss_bytes": 162295808, + "frontier_rss_bytes": 163262464, + "rss_bytes_percent": 0.5956136587335736, + "base_instructions": 26594701759, + "frontier_instructions": 26636062689, + "instructions_percent": 0.1555231954650571 + }, + { + "case": "51-pipeline", + "base_rss_bytes": 270286848, + "frontier_rss_bytes": 270401536, + "rss_bytes_percent": 0.0424319573255838, + "base_instructions": 11214527968, + "frontier_instructions": 11206555665, + "instructions_percent": -0.0710890643168316 + }, + { + "case": "60-ring-churn", + "base_rss_bytes": 17612800, + "frontier_rss_bytes": 18108416, + "rss_bytes_percent": 2.8139534883721007, + "base_instructions": 681056329, + "frontier_instructions": 680831062, + "instructions_percent": -0.03307611873025751 + }, + { + "case": "71-async-worker", + "base_rss_bytes": 84414464, + "frontier_rss_bytes": 84516864, + "rss_bytes_percent": 0.1213062254354913, + "base_instructions": 4733293729, + "frontier_instructions": 4728675467, + "instructions_percent": -0.09756973186989537 + }, + { + "case": "72-request-processing", + "base_rss_bytes": 66867200, + "frontier_rss_bytes": 69648384, + "rss_bytes_percent": 4.159264931087292, + "base_instructions": 84276861426, + "frontier_instructions": 83949821394, + "instructions_percent": -0.38805435616176 + }, + { + "case": "73-retain-then-release", + "base_rss_bytes": 263507968, + "frontier_rss_bytes": 260677632, + "rss_bytes_percent": -1.0740988295276144, + "base_instructions": 19596559479, + "frontier_instructions": 19562912909, + "instructions_percent": -0.17169631248820094 + }, + { + "case": "70-documents-replace", + "base_rss_bytes": 141496320, + "frontier_rss_bytes": 141627392, + "rss_bytes_percent": 0.09263279779996303, + "base_instructions": 16230851851, + "frontier_instructions": 16223762661, + "instructions_percent": -0.043677251601326184 + }, + { + "case": "70-documents-retain", + "base_rss_bytes": 327761920, + "frontier_rss_bytes": 329527296, + "rss_bytes_percent": 0.5386153461634624, + "base_instructions": 20531437021, + "frontier_instructions": 20477423284, + "instructions_percent": -0.26307820998965337 + }, + { + "case": "70-documents-transition", + "base_rss_bytes": 182943744, + "frontier_rss_bytes": 182353920, + "rss_bytes_percent": -0.3224073078989753, + "base_instructions": 18408233050, + "frontier_instructions": 18367643366, + "instructions_percent": -0.22049744747228983 + }, + { + "case": "tscwork", + "base_rss_bytes": 260227072, + "frontier_rss_bytes": 246411264, + "rss_bytes_percent": -5.309135553736699, + "base_instructions": 63154875905, + "frontier_instructions": 63375682828, + "instructions_percent": 0.34962767297990194 + }, + { + "case": "zodwork", + "base_rss_bytes": 30134272, + "frontier_rss_bytes": 29872128, + "rss_bytes_percent": -0.8699198042680489, + "base_instructions": 973822572, + "frontier_instructions": 973299910, + "instructions_percent": -0.053671173274061346 + }, + { + "case": "00-noop", + "base_rss_bytes": 10100736, + "frontier_rss_bytes": 9687040, + "rss_bytes_percent": -4.09570154095702, + "base_instructions": 5683476, + "frontier_instructions": 5749398, + "instructions_percent": 1.1598887722935824 + }, + { + "case": "15-crc32", + "base_rss_bytes": 19079168, + "frontier_rss_bytes": 19169280, + "rss_bytes_percent": 0.47230571060541404, + "base_instructions": 18253822164, + "frontier_instructions": 18254008685, + "instructions_percent": 0.0010218188734700817 + } + ], + "executions": 238 +} diff --git a/docs/audits/gc-rss-instructions-2026-10-03/landing-final-verification.json b/docs/audits/gc-rss-instructions-2026-10-03/landing-final-verification.json new file mode 100644 index 0000000000..b5868bc7c5 --- /dev/null +++ b/docs/audits/gc-rss-instructions-2026-10-03/landing-final-verification.json @@ -0,0 +1,238 @@ +{ + "head": "41e68ed2020f0e8f6deab218255bfeaed3faab05", + "merged_main": "ac575aed9d10d2b5b570dbb7a10e1bab397ec7ce", + "premerge_base": "0a5bb47dc5f10dcfecd8c14fe4b3fc2e7ac4703c", + "commands": [ + { + "name": "build", + "command": [ + "cargo", + "build", + "--locked", + "--release", + "-p", + "perry", + "-p", + "perry-runtime-static", + "-p", + "perry-stdlib-static" + ], + "pid": 2057776, + "rc": 0, + "elapsed_s": 186.45533060200978, + "log_sha256": "e3483a56ecc650947f9164a81363900b996d6889b99cdd7c581d0103f7d5c43a", + "head": "41e68ed2020f0e8f6deab218255bfeaed3faab05" + }, + { + "name": "runtime", + "command": [ + "cargo", + "test", + "--locked", + "--release", + "-p", + "perry-runtime", + "--lib" + ], + "pid": 2137914, + "rc": 0, + "elapsed_s": 148.68799041099555, + "log_sha256": "05cf1e11cd49bd4f5b4cce8083a452bb2954fc51f0124747100363a65099a35b", + "head": "41e68ed2020f0e8f6deab218255bfeaed3faab05" + }, + { + "name": "stdlib", + "command": [ + "cargo", + "test", + "--locked", + "--release", + "-p", + "perry-stdlib", + "--lib" + ], + "pid": 2171210, + "rc": 0, + "elapsed_s": 95.62828084500507, + "log_sha256": "27a155de34c241308f6c453d19534881787e7de84539af67a3cb281d68e551c3", + "head": "41e68ed2020f0e8f6deab218255bfeaed3faab05" + }, + { + "name": "ffi-events", + "command": [ + "cargo", + "test", + "--locked", + "--release", + "-p", + "perry-ffi", + "-p", + "perry-ext-events" + ], + "pid": 2200461, + "rc": 0, + "elapsed_s": 127.7393135970051, + "log_sha256": "4c3a84ca4096ba32a5133a1d946b572cbfa6f822fe7cf1dd000f80529e564c50", + "head": "41e68ed2020f0e8f6deab218255bfeaed3faab05" + }, + { + "name": "gc-integration", + "command": [ + "cargo", + "test", + "--locked", + "--release", + "-p", + "perry", + "--test", + "gc_stack_map_index_budgeted_cycle", + "--test", + "gc_side_table_roots_evacuation", + "--test", + "gc_write_barrier_stress", + "--test", + "gc_copy_minor_under_heap_limit", + "--test", + "gc_nursery_trigger_compiled" + ], + "pid": 2228170, + "rc": 0, + "elapsed_s": 235.93111788100214, + "log_sha256": "e2660fc0f808b1d0feaa3455397554eeb2477d3ad1195fe7ed4ea53a91703421", + "head": "41e68ed2020f0e8f6deab218255bfeaed3faab05" + }, + { + "name": "full-gates", + "command": [ + "bash", + "scripts/run_lint_gates.sh" + ], + "pid": 2274953, + "rc": 1, + "elapsed_s": 952.7472792040062, + "log_sha256": "2089b1a1804439fcecbc5df6bbd014ea3c4fa3bd8648374b81167dfeb0ac9d7e", + "head": "41e68ed2020f0e8f6deab218255bfeaed3faab05" + } + ], + "source_count": 34573, + "source_inputs_sha256": "8046a23e99917289fa7c6d1baa1774c8ac0d53cb45259bba4743cfd1726265c3", + "products": { + "perry": "c4056044e2d81e0dbce7514650f9f0c3c40bf77a58100fc917d2664169b246c4", + "libperry_runtime.a": "8d600902bceaef276ccc7269479f5c56190083bb6a1011f3d271cb1af1384b9d", + "libperry_stdlib.a": "6a7368f58a79289e477812bd801a16f5a205c06c09f5aa7132bee52f9ae2cd02" + }, + "raw_gate_failures": [ + " FAIL [Validate benchmark artifact and fallback gates] ./tests/test_benchmark_peer_fallback.sh", + " FAIL [Release pipeline failure-path regressions] python3 tests/test_release_pipeline.py", + " FAIL [Release pipeline failure-path regressions] node --test scripts/publish/platform-visibility.test.mjs", + " FAIL [Type-check Windows runtime and stdlib] cargo xwin check -p perry-runtime -p perry-stdlib --target x86_64-pc-windows-msvc", + " FAIL [Local binding type-proof audit] python3 scripts/local_binding_type_audit.py", + " FAIL [Binding upstream pins (lock-step)] node scripts/binding_pins.mjs --check", + " FAIL [GC store-site inventory] python3 scripts/gc_store_site_inventory.py", + " FAIL [String payload-access inventory] python3 scripts/string_payload_access_inventory.py", + " FAIL [SSO string-unboxing inventory] python3 scripts/sso_unbox_inventory.py", + " FAIL [Object-header shape-descriptor census] python3 scripts/shape_descriptor_census.py", + " FAIL [Runtime GC-pointer holder custody audit] python3 scripts/gc_runtime_root_holders.py --self-test", + " FAIL [Runtime GC-pointer holder custody audit] python3 scripts/gc_runtime_root_holders.py", + " FAIL [Thread-exit custody of address-keyed globals (#11471)] python3 scripts/thread_exit_address_globals.py", + " FAIL [Raw-handle debt ratchet] python3 scripts/raw_handle_debt.py", + " FAIL [Unrooted-local shape ratchet] python3 scripts/unrooted_local_shape.py --check", + " FAIL [Unrooted-local shape ratchet vs. merge base] python3 scripts/unrooted_local_shape.py --no-raise-vs \"$BASE_SHA\"", + " FAIL [GC matrix liveness gate] ./scripts/gc_repsel_matrix.sh --self-test-fixture-env", + " FAIL [Test registration (dark tests)] python3 scripts/check_test_registration.py --self-test", + " FAIL [Test registration (dark tests)] python3 scripts/check_test_registration.py", + " FAIL [warnings: rustc warnings (host-compatible, all targets)] RUSTFLAGS=\"-D warnings\" cargo check --workspace --all-targets --exclude perry-ui-android --exclude perry-ui-gtk4 --exclude perry-ui-ios --exclude perry-ui-macos --exclude perry-ui-tvos --exclude perry-ui-visionos --exclude perry-ui-watchos --exclude perry-ui-windows --exclude perry-ui-windows-winui", + " FAIL [check: Regenerate API docs] ./scripts/regen_api_docs.sh", + " FAIL [check: Check for API docs drift] git diff --quiet -- docs/src/api/reference.md docs/api/perry.d.ts" + ], + "environment_reruns": [ + { + "command": [ + "bash", + "tests/test_benchmark_peer_fallback.sh" + ], + "rc": 0 + }, + { + "command": [ + "python3", + "tests/test_release_pipeline.py" + ], + "rc": 0 + }, + { + "command": [ + "node", + "--test", + "scripts/publish/platform-visibility.test.mjs" + ], + "rc": 0 + }, + { + "command": [ + "node", + "scripts/binding_pins.mjs", + "--check" + ], + "rc": 0 + }, + { + "command": [ + "bash", + "scripts/gc_repsel_matrix.sh", + "--self-test-fixture-env" + ], + "rc": 1 + } + ], + "api_docs_rerun_v2": 0, + "api_drift_rerun_v2": 0, + "baseline_audit_failures": [ + { + "script": "local_binding_type_audit.py", + "rc": 1, + "output": "local-binding-type audit: unclassified local-type read: crates/perry-codegen/src/expr/static_field_meta.rs::store_evaluation_owner [local_type_hint] at lines 29\nlocal-binding-type audit: stale allowlist entry matches nothing: crates/perry-codegen/src/expr/static_field_meta.rs::lower [local_type_hint]\n" + }, + { + "script": "gc_store_site_inventory.py", + "rc": 1, + "output": "GC store-site inventory failed; add nearby GC_STORE_AUDIT markers:\n crates/perry-runtime/src/object/class_value.rs:287: raw slot write: std::ptr::write(captures, crate::value::INT32_TAG | class_id as u64);\n crates/perry-runtime/src/object/class_value.rs:288: raw slot write: std::ptr::write(\n crates/perry-runtime/src/object/class_value.rs:292: raw slot write: std::ptr::write(\n\nAccepted marker form: // GC_STORE_AUDIT(BARRIERED): reason, with class one of BARRIERED, EXTERNAL_BARRIERED, INIT, POINTER_FREE, ROOT, STACK\nOr add a justified entry to scripts/gc_store_site_allowlist.txt.\n" + }, + { + "script": "string_payload_access_inventory.py", + "rc": 1, + "output": "String payload-access ratchet increased:\n inline-offset | perry-runtime: baseline 334, found 335\n crates/perry-runtime/src/arkts_callbacks.rs:279: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/array/from_concat.rs:46: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/array/header.rs:330: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/array/indexing_keyed.rs:75: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/array/indexing_keyed.rs:403: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/array/iter_methods.rs:1444: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/array/iter_methods.rs:1478: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/array/sort.rs:74: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/array/sort.rs:735: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/array/tests.rs:1704: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/array/tests.rs:1727: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/bigint/convert.rs:119: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/bigint/tests.rs:540: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/buffer/cmp.rs:248: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/buffer/cmp.rs:313: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/buffer/copy_write.rs:65: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/buffer/copy_write.rs:98: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/buffer/exotic_view_tests.rs:81: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/buffer/exotic_view_tests.rs:484: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/buffer/from.rs:38: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/buffer/from.rs:152: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/buffer/query.rs:132: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/buffer/query.rs:276: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/buffer/query.rs:284: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/buffer/transcode.rs:37: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/builtins/arithmetic.rs:421: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/builtins/console.rs:771: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/builtins/console.rs:891: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/builtins/console.rs:1369: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/builtins/console.rs:1440: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/builtins/console.rs:1547: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/builtins/console.rs:1625: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/builtins/formatting/collections.rs:180: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/builtins/formatting/errors.rs:11: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/builtins/formatting/util_format.rs:229: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/builtins/formatting/util_format.rs:423: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/builtins/formatting.rs:217: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/builtins/formatting.rs:563: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/builtins/formatting.rs:622: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/builtins/formatting.rs:640: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/builtins/formatting.rs:1192: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/builtins/formatting.rs:1303: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/builtins/formatting.rs:1415: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/builtins/globals.rs:179: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/builtins/globals.rs:196: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/builtins/globals.rs:221: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/builtins/numbers.rs:21: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/builtins/numbers.rs:184: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/builtins/table.rs:87: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/bun_compat/mod.rs:112: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/child_process/exec.rs:40: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/child_process/exec.rs:77: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/child_process/exec.rs:244: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/child_process/reactor.rs:758: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/child_process/v8_serde.rs:1241: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/child_process/value_util.rs:111: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/child_process/value_util.rs:171: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/cluster.rs:1673: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/collection_iter.rs:64: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/collection_iter.rs:385: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/color_parse.rs:92: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/date.rs:822: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/dgram.rs:491: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/dns.rs:173: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/error.rs:1073: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/error.rs:1417: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/event_target/honest_tests.rs:38: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/event_target/prototype.rs:256: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/event_target.rs:468: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/exception.rs:530: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/fs/callbacks.rs:750: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/fs/dirent.rs:289: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/fs/mod.rs:1234: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/fs/validate.rs:221: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/fs/validate.rs:274: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/gc/heap_snapshot.rs:143: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/gc/tests/buffer_bound_method_name.rs:49: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/gc/tests/buffer_bound_method_name.rs:86: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/gc/tests/copying/promoted_remembered_7803.rs:118: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/gc/tests/handle_bound_method_name.rs:74: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/gc/tests/handle_bound_method_name.rs:122: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/gc/tests/runtime_roots/json_shape_template.rs:151: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/gc/tests/runtime_roots/string_slice.rs:97: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/gc/tests/runtime_roots/transient_handles.rs:178: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/gc/tests/support.rs:736: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/geisterhand_registry.rs:275: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/intl/number_format.rs:1199: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/intl/segmenter.rs:45: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/intl.rs:218: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/json/mod.rs:405: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/json/mod.rs:893: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/json/parse_api.rs:376: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/json/parse_api.rs:504: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/json/parse_api.rs:533: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/json/parse_api.rs:922: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/json/parser.rs:897: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/json/raw_json.rs:86: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/json/reviver.rs:431: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/json/reviver.rs:853: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/json/stringify_api.rs:417: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/json_tape.rs:1149: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/json_tape.rs:1724: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/map.rs:1089: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/media_playback.rs:246: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/node_inspector.rs:244: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/node_repl.rs:124: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/node_stream_readwrite.rs:1766: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/node_submodules/blob.rs:503: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/node_submodules/consumers.rs:270: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/node_submodules/diagnostics/user_props.rs:11: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/node_submodules/diagnostics.rs:324: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/node_submodules/fs_promises.rs:540: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/node_submodules/trace_events.rs:123: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/node_submodules/trace_events.rs:138: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/node_vm.rs:788: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/arguments.rs:223: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/array_object_ops.rs:359: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/assert.rs:28: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/assert.rs:39: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/class_registry/class_meta.rs:501: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/class_registry/class_meta.rs:573: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/class_registry/parent_static.rs:706: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/class_registry/prototype_objects.rs:561: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/collection_proto_thunks.rs:382: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/delete_rest.rs:359: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/descriptor_state.rs:1442: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/descriptor_state.rs:1959: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/descriptors/builders.rs:201: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/descriptors.rs:614: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/descriptors.rs:783: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/accessors.rs:164: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/class_object_template.rs:910: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/field_ops.rs:296: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/get_field_by_name.rs:117: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/get_field_by_name.rs:839: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/get_field_by_name.rs:924: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/get_field_by_name.rs:963: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/get_field_by_name.rs:993: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/get_field_by_name.rs:1051: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/get_field_by_name.rs:1124: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/get_field_by_name.rs:1438: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/get_field_by_name.rs:1459: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/get_field_by_name.rs:1510: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/get_field_by_name.rs:1526: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/get_field_by_name.rs:1575: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/get_field_by_name.rs:1644: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/get_field_by_name.rs:1708: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/get_field_by_name.rs:1764: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/get_field_by_name.rs:1840: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/get_field_by_name.rs:1871: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/get_field_by_name_tail.rs:70: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/get_field_by_name_tail.rs:87: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/get_field_by_name_tail.rs:116: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/get_field_by_name_tail.rs:143: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/get_field_by_name_tail.rs:240: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/get_field_by_name_tail.rs:436: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/get_field_by_name_tail.rs:532: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/get_field_by_name_tail.rs:697: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/get_field_by_name_tail.rs:978: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/get_field_by_name_tail.rs:1002: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/get_field_by_name_tail.rs:1117: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/get_field_by_name_tail.rs:1137: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/get_field_by_name_tail.rs:1186: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/get_field_by_name_tail.rs:1209: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/get_field_by_name_tail.rs:1283: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/get_field_by_name_tail.rs:1334: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/has_property.rs:108: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/has_property.rs:368: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/has_property.rs:514: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/has_property.rs:551: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/has_property.rs:582: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/has_property.rs:835: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/has_property.rs:1031: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/has_property.rs:1484: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/ic_miss/class_field_define_fast.rs:38: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/ic_miss.rs:620: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/ic_miss.rs:1012: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/ic_miss.rs:1027: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/map_set_receiver.rs:23: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/probe_dispatch.rs:15: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set/probe_dispatch.rs:38: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_get_set.rs:376: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_set_by_name/attr_variants.rs:36: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_set_by_name/attr_variants.rs:77: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_set_by_name/tail.rs:83: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_set_by_name/tail.rs:165: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_set_by_name/tail.rs:204: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_set_by_name/tail.rs:355: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_set_by_name/tail.rs:749: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_set_by_name/tail.rs:812: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_set_by_name/write_helpers.rs:18: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_set_by_name/write_helpers.rs:37: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_set_by_name/write_helpers.rs:82: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_set_by_name/write_helpers.rs:99: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_set_by_name/write_helpers.rs:154: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_set_by_name.rs:341: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_set_by_name.rs:401: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_set_by_name.rs:441: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_set_by_name.rs:614: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/field_set_by_name.rs:635: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/global_this/array_error.rs:395: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/global_this/fetch_globals.rs:158: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/global_this/math_temporal.rs:781: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/global_this/typed_array.rs:408: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/global_this_webassembly.rs:370: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/global_this_webassembly.rs:1378: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/global_this_webassembly.rs:1393: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/groupby.rs:239: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/keys_lookup.rs:13: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/native_call_method/common_methods.rs:365: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/native_call_method/to_locale_string_tests.rs:33: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/native_call_method/to_locale_string_tests.rs:174: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/native_call_method.rs:889: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/native_module/class_ref_values.rs:66: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/native_module/namespace_builders.rs:133: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/native_module/vtable_impls.rs:19: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/native_module/web_locks.rs:90: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/native_module_dispatch.rs:17: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/native_module_dispatch.rs:31: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/native_module_dispatch.rs:321: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/object_literal_ops.rs:179: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/object_ops/define_property.rs:1108: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/object_ops/define_property.rs:1312: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/object_ops/define_property.rs:1465: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/object_ops/has_own.rs:625: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/object_ops/has_own.rs:702: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/object_ops/keys_array.rs:242: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/object_ops/keys_array.rs:366: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/object_ops/keys_array.rs:756: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/object_ops_frozen.rs:545: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/polymorphic_index.rs:563: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/property_key.rs:362: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/property_key.rs:540: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/property_key.rs:609: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/reflect_support.rs:330: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/regex_proto_thunks.rs:73: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/regex_proto_thunks.rs:335: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/temporal_proto.rs:33: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/tests.rs:56: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/to_string_tag.rs:77: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/to_string_tag.rs:470: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/typed_array_define.rs:95: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/object/typed_array_define.rs:159: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/ohos_napi.rs:204: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/os/chdir.rs:20: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/os/os_process_emitter.rs:83: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/os/signal.rs:993: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/os.rs:1353: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/os_process_stream_write.rs:133: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/os_process_streams.rs:1134: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/path/tests.rs:345: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/path.rs:21: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/perf_histogram.rs:487: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/perf_hooks.rs:407: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/plugin.rs:377: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/process/attributes.rs:128: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/process/credentials.rs:256: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/process/env_misc.rs:244: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/process/env_misc.rs:589: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/process/env_misc.rs:1020: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/process/env_misc.rs:1226: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/process/env_misc.rs:1543: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/process/ipc.rs:563: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/process.rs:654: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/promise/async_step.rs:1201: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/promise/combinators.rs:191: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/promise/native_async.rs:883: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/proxy/metadata.rs:204: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/proxy/own_keys.rs:60: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/proxy.rs:1447: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/readline_helpers.rs:146: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/regex.rs:476: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/set.rs:655: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/set.rs:656: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/set.rs:715: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/static_plugins.rs:22: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/string/append.rs:50: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/string/append.rs:106: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/string/append.rs:121: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/string/append.rs:156: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/string/append.rs:157: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/string/compare.rs:360: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/string/compare.rs:391: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/string/compare.rs:428: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/string/intern.rs:473: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/string/intern.rs:513: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/string/intern.rs:514: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/string/intern.rs:531: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/string/intern.rs:538: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/string/intern.rs:557: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/string/intern.rs:559: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/string/intern.rs:567: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/string/mod.rs:446: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/string/mod.rs:756: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/string/mod.rs:805: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/string/mod.rs:815: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/string/mod.rs:953: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/string/mod.rs:1204: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/string/tests.rs:1606: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/symbol/properties.rs:642: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/symbol.rs:282: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/symbol.rs:1065: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/temporal/dispatch.rs:137: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/text.rs:411: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/text.rs:448: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/text.rs:586: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/text.rs:1022: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/text.rs:1151: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/thread.rs:401: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/tty.rs:1257: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/tui/ffi.rs:486: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/tui/ffi.rs:906: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/tui/hooks.rs:849: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/typed_feedback.rs:1193: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/typedarray/slice_ops.rs:32: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/ui_text_registry.rs:65: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/update_notify.rs:1628: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/url/mod.rs:117: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/url/search_params.rs:412: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/url/url_class.rs:199: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/url/url_class.rs:222: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/url/url_class.rs:233: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/url/url_class.rs:585: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/url/url_class.rs:628: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/util_debuglog.rs:53: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/util_mime.rs:56: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/util_parse_args.rs:834: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/v8.rs:83: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/value/dyn_index.rs:129: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/value/dynamic_array.rs:201: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/value/to_string.rs:63: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/value/to_string.rs:630: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/value/to_string_radix.rs:44: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/web_storage.rs:502: [inline-offset] open-coded StringHeader payload offset\n crates/perry-runtime/src/webassembly.rs:130: [inline-offset] open-coded StringHeader payload offset\n inline-offset | perry-stdlib: baseline 26, found 27\n crates/perry-stdlib/src/crypto/random.rs:942: [inline-offset] open-coded StringHeader payload offset\n crates/perry-stdlib/src/crypto/util.rs:76: [inline-offset] open-coded StringHeader payload offset\n crates/perry-stdlib/src/crypto/util.rs:483: [inline-offset] open-coded StringHeader payload offset\n crates/perry-stdlib/src/crypto_e2e.rs:23: [inline-offset] open-coded StringHeader payload offset\n crates/perry-stdlib/src/ethers.rs:22: [inline-offset] open-coded StringHeader payload offset\n crates/perry-stdlib/src/ethers.rs:386: [inline-offset] open-coded StringHeader payload offset\n crates/perry-stdlib/src/fetch/dispatch.rs:175: [inline-offset] open-coded StringHeader payload offset\n crates/perry-stdlib/src/nodemailer.rs:48: [inline-offset] open-coded StringHeader payload offset\n crates/perry-stdlib/src/querystring.rs:82: [inline-offset] open-coded StringHeader payload offset\n crates/perry-stdlib/src/querystring.rs:406: [inline-offset] open-coded StringHeader payload offset\n crates/perry-stdlib/src/sqlite/bind.rs:167: [inline-offset] open-coded StringHeader payload offset\n crates/perry-stdlib/src/sqlite/bind.rs:623: [inline-offset] open-coded StringHeader payload offset\n crates/perry-stdlib/src/streams.rs:1556: [inline-offset] open-coded StringHeader payload offset\n crates/perry-stdlib/src/streams.rs:1575: [inline-offset] open-coded StringHeader payload offset\n crates/perry-stdlib/src/string_decoder.rs:378: [inline-offset] open-coded StringHeader payload offset\n crates/perry-stdlib/src/string_decoder.rs:702: [inline-offset] open-coded StringHeader payload offset\n crates/perry-stdlib/src/webcrypto/util.rs:534: [inline-offset] open-coded StringHeader payload offset\n crates/perry-stdlib/src/webcrypto/util.rs:558: [inline-offset] open-coded StringHeader payload offset\n crates/perry-stdlib/src/worker_threads.rs:1758: [inline-offset] open-coded StringHeader payload offset\n crates/perry-stdlib/src/worker_threads.rs:1781: [inline-offset] open-coded StringHeader payload offset\n crates/perry-stdlib/src/zlib.rs:103: [inline-offset] open-coded StringHeader payload offset\n crates/perry-stdlib/src/zlib.rs:1234: [inline-offset] open-coded StringHeader payload offset\n crates/perry-stdlib/src/zlib.rs:1389: [inline-offset] open-coded StringHeader payload offset\n crates/perry-stdlib/src/zlib.rs:1412: [inline-offset] open-coded StringHeader payload offset\n crates/perry-stdlib/tests/container_backend_selection.rs:51: [inline-offset] open-coded StringHeader payload offset\n crates/perry-stdlib/tests/container_backend_selection.rs:62: [inline-offset] open-coded StringHeader payload offset\n crates/perry-stdlib/tests/container_extra_tests.rs:23: [inline-offset] open-coded StringHeader payload offset\nRun: python3 scripts/string_payload_access_inventory.py --write-baseline\n" + }, + { + "script": "sso_unbox_inventory.py", + "rc": 1, + "output": "SSO string-unboxing ratchet increased:\n heap-tag-only | perry-runtime: baseline 53, found 54\n crates/perry-runtime/src/array/flat_clone.rs:489: [heap-tag-only] fn js_array_clone: heap-only string test\n crates/perry-runtime/src/array/from_concat.rs:55: [heap-tag-only] fn throw_map_fn_not_callable: heap-only string test\n crates/perry-runtime/src/array/join.rs:82: [heap-tag-only] fn direct_string: heap-only string test\n crates/perry-runtime/src/array/named_props.rs:440: [heap-tag-only] fn find_pair: heap-only string test\n crates/perry-runtime/src/array/named_props.rs:920: [heap-tag-only] fn array_has_sparse_index_properties_resolved: heap-only string test\n crates/perry-runtime/src/array/named_props.rs:984: [heap-tag-only] fn array_named_property_names: heap-only string test\n crates/perry-runtime/src/buffer/cmp.rs:243: [heap-tag-only] fn buffer_search_needle_with_encoding: heap-only string test\n crates/perry-runtime/src/buffer/cmp.rs:308: [heap-tag-only] fn js_buffer_index_of_enc: heap-only string test\n crates/perry-runtime/src/builtins/console.rs:1433: [heap-tag-only] fn js_console_trace: heap-only string test\n crates/perry-runtime/src/builtins/console.rs:1539: [heap-tag-only] fn decode_dir_depth_option: heap-only string test\n crates/perry-runtime/src/builtins/console.rs:1617: [heap-tag-only] fn decode_dir_bool_option: heap-only string test\n crates/perry-runtime/src/builtins/formatting/errors.rs:179: [heap-tag-only] fn format_error_subclass_headline: heap-only string test\n crates/perry-runtime/src/fs/mod.rs:266: [heap-tag-only] fn extract_string_ptr: heap-only string test\n crates/perry-runtime/src/gc/barrier_store.rs:136: [heap-tag-only] fn runtime_store_jsvalue_slot_layout_deferred: heap-only string test\n crates/perry-runtime/src/gc/barrier_store.rs:187: [heap-tag-only] fn runtime_store_jsvalue_slot: heap-only string test\n crates/perry-runtime/src/intl/segments_view.rs:435: [heap-tag-only] fn js_segments_view_segment: heap-only string test\n crates/perry-runtime/src/intl/segments_view.rs:502: [heap-tag-only] fn js_segments_view_regexp_test: heap-only string test\n crates/perry-runtime/src/json/parse_api.rs:305: [heap-tag-only] fn try_parse_deep_iterative: heap-only string test\n crates/perry-runtime/src/json/parse_api.rs:418: [heap-tag-only] fn parse_result_slow: heap-only string test\n crates/perry-runtime/src/json/parse_api.rs:668: [heap-tag-only] fn parse_slow: heap-only string test\n crates/perry-runtime/src/json/parse_api.rs:724: [heap-tag-only] fn parse_deep_or_throw: heap-only string test\n crates/perry-runtime/src/json/parse_api.rs:749: [heap-tag-only] fn parse_deep_or_error: heap-only string test\n crates/perry-runtime/src/json/parse_api.rs:829: [heap-tag-only] fn try_parse_via_tape: heap-only string test\n crates/perry-runtime/src/json/parse_api.rs:954: [heap-tag-only] fn js_json_parse_typed_array: heap-only string test\n crates/perry-runtime/src/json/raw_json.rs:80: [heap-tag-only] fn raw_json_text_bytes: heap-only string test\n crates/perry-runtime/src/json/replacer.rs:492: [heap-tag-only] fn stringify_object_with_replacer_pretty: heap-only string test\n crates/perry-runtime/src/json/replacer.rs:1116: [heap-tag-only] fn stringify_object_pretty: heap-only string test\n crates/perry-runtime/src/json/replacer.rs:1321: [heap-tag-only] fn stringify_object_with_array_replacer: heap-only string test\n crates/perry-runtime/src/json/stringify_string.rs:14: [heap-tag-only] fn try_heap_string: heap-only string test\n crates/perry-runtime/src/map.rs:1049: [heap-tag-only] fn extract_string_ptr_from_value: heap-only string test\n crates/perry-runtime/src/object/class_registry/class_meta.rs:497: [heap-tag-only] fn identify_global_builtin_constructor: heap-only string test\n crates/perry-runtime/src/object/descriptor_state.rs:1952: [heap-tag-only] fn mark_all_keys: heap-only string test\n crates/perry-runtime/src/object/field_get_set/accessors.rs:740: [heap-tag-only] fn primitive_tagged_prototype_property: heap-only string test\n crates/perry-runtime/src/object/field_get_set/ic_miss/class_field_define_fast.rs:29: [heap-tag-only] fn try_define_new_class_field: heap-only string test\n crates/perry-runtime/src/object/global_fetch.rs:81: [heap-tag-only] fn js_fetch_set_pending_redirect: heap-only string test\n crates/perry-runtime/src/object/native_call_method/common_methods.rs:616: [heap-tag-only] fn dispatch_common: heap-only string test\n crates/perry-runtime/src/object/native_module_dispatch.rs:318: [heap-tag-only] fn dispatch_native_module_method: heap-only string test\n crates/perry-runtime/src/object/object_ops_frozen.rs:538: [heap-tag-only] fn object_integrity_level: heap-only string test\n crates/perry-runtime/src/object/temporal_proto.rs:24: [heap-tag-only] fn closure_name: heap-only string test\n crates/perry-runtime/src/perf_histogram.rs:482: [heap-tag-only] fn histogram_id_from_value: heap-only string test\n crates/perry-runtime/src/proxy/put_value.rs:164: [heap-tag-only] fn js_put_value_set: heap-only string test\n crates/perry-runtime/src/set.rs:669: [heap-tag-only] fn extract_string_ptr_from_value: heap-only string test\n crates/perry-runtime/src/string/alloc.rs:208: [heap-tag-only] fn js_string_addref_if_heap_string: heap-only string test\n crates/perry-runtime/src/string/concat.rs:1130: [heap-tag-only] fn append_chain_all_heap_strings: heap-only string test\n crates/perry-runtime/src/string/concat.rs:1305: [heap-tag-only] fn concat_chain_all_heap_strings_no_collect: heap-only string test\n crates/perry-runtime/src/symbol/constructors.rs:25: [heap-tag-only] fn js_symbol_new: heap-only string test\n crates/perry-runtime/src/symbol/constructors.rs:54: [heap-tag-only] fn js_symbol_for: heap-only string test\n crates/perry-runtime/src/thread.rs:395: [heap-tag-only] fn serialize_nanbox_for_thread: heap-only string test\n crates/perry-runtime/src/typed_feedback.rs:1875: [heap-tag-only] fn object_key_matches_field: heap-only string test\n crates/perry-runtime/src/value/equality.rs:510: [heap-tag-only] fn extract_string_ptr: heap-only string test\n crates/perry-runtime/src/value/jsvalue.rs:316: [heap-tag-only] fn as_string_ptr: heap-only string test\n crates/perry-runtime/src/value/nanbox.rs:232: [heap-tag-only] fn js_nanbox_get_pointer: heap-only string test\n crates/perry-runtime/src/value/nanbox.rs:258: [heap-tag-only] fn js_nanbox_get_string_pointer: heap-only string test\n crates/perry-runtime/src/value/to_string.rs:622: [heap-tag-only] fn js_ensure_string_ptr: heap-only string test\nA short string (<= 5 bytes) is stored inline under SHORT_STRING_TAG and has no StringHeader; see this script's docstring for the SSO-aware accessors.\nRun: python3 scripts/sso_unbox_inventory.py --write-baseline\n" + }, + { + "script": "shape_descriptor_census.py", + "rc": 1, + "output": "Traceback (most recent call last):\n File \"/root/rss-gc-codex-20261004/premerge-gate-source/scripts/shape_descriptor_census.py\", line 1487, in \n main()\n ~~~~^^\n File \"/root/rss-gc-codex-20261004/premerge-gate-source/scripts/shape_descriptor_census.py\", line 1480, in main\n compare_exact_census(observed, baseline)\n ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^\n File \"/root/rss-gc-codex-20261004/premerge-gate-source/scripts/shape_descriptor_census.py\", line 1460, in compare_exact_census\n raise CensusError(\n f\"exact callsite census changed for {key}; added={added}, removed={removed}\"\n )\nCensusError: exact callsite census changed for codegen_object_header_size_callsite_multiset; added=[('crates/perry-codegen/src/expr/property_get/generic_dispatch.rs|let header_bytes = crate::target_layout::object_header_size_bytes(ctx.target_triple) as i64;', 1), ('crates/perry-codegen/src/expr/put_value_store_ic.rs|let header_bytes = crate::target_layout::object_header_size_bytes(ctx.target_triple) as i64;', 1)], removed=[]\n" + }, + { + "script": "gc_runtime_root_holders.py", + "rc": 1, + "output": "\ngc_runtime_root_holders: NEW identity-ratcheted holders not pinned in\nthe inventory's `frontier` list. This covers perry-ui* callback tables\nand otherwise-unclassified core raw/Perry thread-local declarations.\nRegister a scanner that reaches the holder, record a researched verdict\nwhere the gated rules apply, or pin existing debt deliberately \u2014 with the\nunderstanding that a pinned entry is not a GC-safety verdict.\n\n crates/perry-runtime/src/object/field_get_set/ic_miss/private_guard_fast.rs:149: PRIVATE_PROOF_CACHE: [[std::cell::Cell; 2]; PRIVATE_PROOF_CACHE_SETS] [rule T]\n\ngc_runtime_root_holders: these inventory entries no longer match an\nuncovered holder. Delete them \u2014 a stale exemption is how this gate stops\nbeing one. (An entry also goes stale when the holder becomes COVERED,\nwhich is exactly what a fix looks like.)\n\n crates/perry-runtime/src/object/field_get_set/ic_miss/private_guard_fast.rs | PRIVATE_MARKER_CACHE | #10501 (ShapeId, class id, access-site name) -> private-marker slot cache. Entries hold u32 ShapeIds/class ids/key indices, bools, the caller's .rodata name address (compared as an integer) and a leaked &'static str. No NaN-boxed value or heap address; ShapeIds are never reused, so an entry can only miss.\n" + }, + { + "script": "thread_exit_address_globals.py", + "rc": 1, + "output": "thread_exit_address_globals: crates/perry-runtime/src/object/field_get_set/ic_miss/private_guard_fast.rs:PRIVATE_TEMPLATE_EVALUATED: stale entry \u2014 no such candidate static\nthread_exit_address_globals: crates/perry-runtime/src/object/shapes_store.rs:EMPTY_PAGE_ENTRY: stale entry \u2014 no such candidate static\nthread_exit_address_globals: crates/perry-runtime/src/node_stream/async_iterator.rs:314: `READABLE_HANDLE_PREDICATE: std::sync::atomic::AtomicPtr<()>` is a process-global static that can hold a heap address and has no thread-exit verdict in thread_exit_address_globals.json. After its thread exits, Arena::drop frees the memory and another thread reuses it (#11471): invalidate it there, make it per-thread, or record why it cannot hold an arena address.\nthread_exit_address_globals: crates/perry-runtime/src/object/field_get_set/class_object_template.rs:99: `THREAD_TOKEN: std::cell::Cell` is a process-global static that can hold a heap address and has no thread-exit verdict in thread_exit_address_globals.json. After its thread exits, Arena::drop frees the memory and another thread reuses it (#11471): invalidate it there, make it per-thread, or record why it cannot hold an arena address.\nthread_exit_address_globals: crates/perry-runtime/src/object/field_get_set/ic_miss/private_guard_fast.rs:94: `PERRY_PRIVATE_TEMPLATE_EVALUATED: [std::sync::atomic::AtomicU64; PRIVATE_TEMPLATE_BITS / 64]` is a process-global static that can hold a heap address and has no thread-exit verdict in thread_exit_address_globals.json. After its thread exits, Arena::drop frees the memory and another thread reuses it (#11471): invalidate it there, make it per-thread, or record why it cannot hold an arena address.\nthread_exit_address_globals: crates/perry-runtime/src/object/shapes_prototype.rs:101: `AGENT_WORD_DIR: [WordDir; 2]` is a process-global static that can hold a heap address and has no thread-exit verdict in thread_exit_address_globals.json. After its thread exits, Arena::drop frees the memory and another thread reuses it (#11471): invalidate it there, make it per-thread, or record why it cannot hold an arena address.\nthread_exit_address_globals: 909 candidates, 251 counter-only, 494 classified by entry, 0 pending_fix group(s), 6 problem(s)\n" + }, + { + "script": "raw_handle_debt.py", + "rc": 1, + "output": "raw-handle debt sites: 871 (baseline 871)\n::error::per-module raw-handle rules: 1 violation(s)\n crates/perry-runtime/src/object/field_get_set/ic_miss/private_storage_cache.rs: 1 raw-handle debt site(s) in a module with no ceiling. New code must put real work inside RuntimeHandle::across_{mut,const,nanbox} or use with_{mut,const}_ptr; see #7341.\nPut the allocating call inside RuntimeHandle::across_{mut,const,nanbox}\nfor a post-call reload; empty `|| ()` closures are still debt.\nUse with_{mut,const}_ptr for a scoped argument to a\nnon-allocating operation / self-rooting runtime entry point.\nSee #7341 and scripts/raw_handle_debt_files.txt.\n" + }, + { + "script": "unrooted_local_shape.py", + "rc": 1, + "output": "REGRESSION: 383 findings exceeds baseline 368\nREGRESSION: crates/perry-stdlib/src/crypto/random.rs: 15 findings exceeds per-file ceiling 0\nunrooted-local shape: 383 finding(s) across 59 file(s)\n(exposure surface, not a bug count -- see the module docstring)\n 40 crates/perry-stdlib/src/webcrypto/keys.rs\n 24 crates/perry-stdlib/src/streams.rs\n 22 crates/perry-stdlib/src/crypto/sign.rs\n 21 crates/perry-stdlib/src/lodash.rs\n 18 crates/perry-stdlib/src/sqlite/better.rs\n 17 crates/perry-stdlib/src/events/events_on.rs\n 15 crates/perry-stdlib/src/crypto/random.rs\n 13 crates/perry-stdlib/src/streams/pipe.rs\n 13 crates/perry-stdlib/src/events.rs\n 13 crates/perry-ext-better-sqlite3/src/lib.rs\n 12 crates/perry-stdlib/src/worker_threads.rs\n 12 crates/perry-stdlib/src/streams/byob.rs\n 10 crates/perry-stdlib/src/webcrypto/encapsulation.rs\n 9 crates/perry-stdlib/src/streams/strategy.rs\n 9 crates/perry-stdlib/src/crypto/kdf.rs\n 8 crates/perry-stdlib/src/streams/transform.rs\n 8 crates/perry-stdlib/src/sqlite/backup.rs\n 7 crates/perry-ext-http/src/server/request.rs\n 7 crates/perry-ext-cheerio/src/lib.rs\n 6 crates/perry-stdlib/src/worker_threads/worker_surface.rs\n ... and 39 more file(s)\n" + } + ], + "limitation": "Full gates are not green. Two RSS-owned audit updates are in a separate follow-up; baseline audit failures, missing cargo-xwin and the GC fixture routing failure are separately recorded. Generated API doc truncation from a hardcoded compiler path was preserved as a diff and restored; the rerun passes and all input hashes match again." +}