protobuf/ruby/ext/google/protobuf_c
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
..
convert.c Ported Ruby extension to upb_msg (#8184) 2021-01-13 12:16:25 -08:00
convert.h Ported Ruby extension to upb_msg (#8184) 2021-01-13 12:16:25 -08:00
defs.c Ruby <2.7now uses WeakMap too, which prevents memory leaks. 2021-02-24 16:41:35 -08:00
defs.h Ported Ruby extension to upb_msg (#8184) 2021-01-13 12:16:25 -08:00
extconf.rb Ported Ruby extension to upb_msg (#8184) 2021-01-13 12:16:25 -08:00
map.c Ruby <2.7now uses WeakMap too, which prevents memory leaks. 2021-02-24 16:41:35 -08:00
map.h Ported Ruby extension to upb_msg (#8184) 2021-01-13 12:16:25 -08:00
message.c Merge pull request #8363 from haberman/ruby-nil-fix 2021-03-02 17:26:46 -08:00
message.h [Ruby] Fix for FieldDescriptor.get(msg). 2021-02-22 17:14:46 -08:00
protobuf.c Register mark objects so Protobuf is compaction friendly 2021-03-10 13:54:04 -08:00
protobuf.h Ruby <2.7now uses WeakMap too, which prevents memory leaks. 2021-02-24 16:41:35 -08:00
repeated_field.c Ruby <2.7now uses WeakMap too, which prevents memory leaks. 2021-02-24 16:41:35 -08:00
repeated_field.h Ported Ruby extension to upb_msg (#8184) 2021-01-13 12:16:25 -08:00
ruby-upb.c [Ruby] Fixed quadratic memory usage when appending to arrays. 2021-03-02 13:37:47 -08:00
ruby-upb.h Updated upb to allow nonzero offset minutes in JSON timestamps. (#8258) 2021-02-03 17:59:10 -08:00
wrap_memcpy.c Replace repo links. 2018-08-22 11:55:30 -07:00