[#99115] [Ruby master Bug#17023] How to prevent String memory to be relocated in ruby-ffi — larskanis@...
Issue #17023 has been reported by larskanis (Lars Kanis).
22 messages
2020/07/10
[#99375] [Ruby master Feature#17055] Allow suppressing uninitialized instance variable and method redefined verbose mode warnings — merch-redmine@...
Issue #17055 has been reported by jeremyevans0 (Jeremy Evans).
29 messages
2020/07/28
[#101207] [Ruby master Feature#17055] Allow suppressing uninitialized instance variable and method redefined verbose mode warnings
— merch-redmine@...
2020/12/02
Issue #17055 has been updated by jeremyevans0 (Jeremy Evans).
[#101231] Re: [Ruby master Feature#17055] Allow suppressing uninitialized instance variable and method redefined verbose mode warnings
— Austin Ziegler <halostatue@...>
2020/12/03
What does this mean?
[ruby-core:99185] Re: [Ruby master Bug#17023] How to prevent String memory to be relocated in ruby-ffi
From:
Eric Wong <normalperson@...>
Date:
2020-07-15 23:35:40 UTC
List:
ruby-core #99185
[email protected] wrote: > Right, that makes sense. I really need to document this (and > I apologize for not doing so already), but > `rb_gc_register_address` will pin your objects. When you know > you're done with the reference, you can release it with > `rb_gc_unregister_address`. Of course if you don't call the > unregister function, the reference will stay alive forever. Btw, does rb_gc_register_mark_object pin? A quick glance at gc.c tells me it doesn't, and I'll need to revert commit 2a6cb76d5010cb763ef5a2c305728465d15eb7c9 in unicorn: https://yhbt.net/unicorn-public/[email protected]/ Anyways, it takes me too long to compile Ruby so I'm back to running whatever my distro ships. I haven't been able to test GC.compact at all. > https://bugs.ruby-lang.org/issues/17023#change-86563 Unsubscribe: <mailto:[email protected]?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>