ruby/ext/objspace
Jean Boussier f48e45d1e9 Move object_id in object fields.
And get rid of the `obj_to_id_tbl`

It's no longer needed, the `object_id` is now stored inline
in the object alongside instance variables.

We still need the inverse table in case `_id2ref` is invoked, but
we lazily build it by walking the heap if that happens.

The `object_id` concern is also no longer a GC implementation
concern, but a generic implementation.

Co-Authored-By: Matt Valentine-House <matt@eightbitraptor.com>
2025-05-08 07:58:05 +02:00
..
lib [DOC] Improve ObjectSpace#dump_XXX method docs 2023-02-19 22:32:52 +02:00
depend Use a set_table for rb_vm_struct.unused_block_warning_table 2025-04-27 11:59:28 +02:00
extconf.rb
object_tracing.c use st_update to prevent table extension 2024-12-23 11:05:34 +09:00
objspace.c Prefix asan_poison_object with rb 2024-12-19 09:14:34 -05:00
objspace.h
objspace_dump.c Move object_id in object fields. 2025-05-08 07:58:05 +02:00