stanhu opened a new pull request #2347: URL: https://github.com/apache/thrift/pull/2347
Ruby v2.7 introduced support for a compacting garbage collector (https://bugs.ruby-lang.org/issues/15626) that can be invoked via `GC.compact`. The Thrift library does not mark its global constants, so seg faults appear when using `GC.compact`. To fix this, we mark globals with `rb_global_variable`, which should be present in older versions of Ruby. Closes THRIFT-5367 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org