frame allocs: what the arena takes is not counted; a scratch site is a birth only when boot reaches it
With the arena on, a site the escape analysis proves LOCAL is the frame's scratch - made and gone with the frame - so frame_allocs now counts only what frame code still takes from the heap. And a scratch site is the arena's whenever the game's frames run (a frame, a click handler, a reducer), so it is a leak at birth only when boot's code (a Start handler) reaches it, before the first frame. Maroon Lake: frame_allocs 337 -> 194 with the game's own fixes, birth_leaks 189 -> 115. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
3b9b4a589b
commit
b12b66e89a
3 changed files with 60147 additions and 58913 deletions
59520
selfhost/ludicc.seed.ll
59520
selfhost/ludicc.seed.ll
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue