Files
Koichi SasadaandClaude Fable 5 13c50963b9 objspace: allocation tracing must tolerate reused addresses
Since the FREEOBJ internal event fires only for the main objspace (a
non-main Ractor's lock-free sweep must not run arbitrary C callbacks),
an object that dies in another Ractor leaves its allocation-tracing
entry behind, still marked living.  When the allocator reuses that
address, newobj_i tripped its debug assertion; release builds already
recycle the entry.  Drop the stale assertion.

This was latent but rare while a dead Ractor's pages waited for the
inheritor's next major GC; the previous commits return those pages to
the pool at death, which made it deterministic
(TestObjSpaceRactor#test_tracing_does_not_crash on assert builds).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-11 03:33:40 +09:00
..
2026-08-10 09:18:09 +00:00
2019-07-14 01:31:29 +09:00
2026-03-15 12:47:51 +00:00