protobuf/ruby/ext/google
Aaron Patterson addd0615bf
Register mark objects so Protobuf is compaction friendly
This commit removes an unused reference and registers globals with the
GC so that they will never die.  Ruby is getting a compacting GC, and it
means that these references can move.  Registering them with
`rb_gc_register_mark_object` will ensure the constants don't move and
will not be collected.
2021-03-10 13:54:04 -08:00
..
protobuf_c Register mark objects so Protobuf is compaction friendly 2021-03-10 13:54:04 -08:00