diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2025-09-21 10:20:24 -0400 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2025-09-26 17:17:42 -0400 |
| commit | ba52af6fc3e9ce8263794e8d2cad3fdf2785adad (patch) | |
| tree | a28c2261e8ffb645d2cef0e5cc57582bbd7490a5 /include/ruby/internal/encoding | |
| parent | 88dc3c41473a3bef78cb753f053f2370e6faa781 (diff) | |
Always set parent_object in GC
When we mark a T_NONE, we crash with the object and parent object information
in the bug report. However, if the parent object is young then it is Qfalse.
For example, a bug report looks like:
[BUG] try to mark T_NONE object (obj: 0x00003990e42d7c70 T_NONE/, parent: (none))
This commit changes it to always set the parent object and also adds a
new field parent_object_old_p to quickly determine if the parent object
is old or not.
Diffstat (limited to 'include/ruby/internal/encoding')
0 files changed, 0 insertions, 0 deletions
