ruby/internal
Jean Boussier e626da82ea Don't pin named structs defined in Ruby
[Bug #20311]

`rb_define_class_under` assumes it's called from C and that the
reference might be held in a C global variable, so it adds the
class to the VM root.

In the case of `Struct.new('Name')` it's wasteful and make
the struct immortal.
2024-03-01 08:23:38 +01:00
..
2023-12-07 15:52:35 -05:00
2023-12-07 15:52:35 -05:00
2023-12-07 15:52:35 -05:00
2024-02-28 13:45:19 -05:00
2024-01-24 20:51:50 +09:00
2024-01-11 10:09:53 -05:00
2024-01-30 14:48:59 +09:00
2024-02-20 17:33:58 +09:00
2023-12-07 15:52:35 -05:00
2023-12-07 15:52:35 -05:00
2024-01-05 05:51:25 +09:00
2023-12-07 15:52:35 -05:00
2023-11-24 13:29:04 -05:00