mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00
* gc.c, internal.h (rb_gc_writebarrier_remember_promoted): add a new
function to remember an specified object. This api is only experimental (strongly depend on WB/rgengc strategy). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8e5374d05a
commit
344835a754
3 changed files with 14 additions and 0 deletions
|
@ -278,6 +278,7 @@ void rb_w32_init_file(void);
|
|||
void Init_heap(void);
|
||||
void *ruby_mimmalloc(size_t size);
|
||||
void rb_objspace_set_event_hook(const rb_event_flag_t event);
|
||||
void rb_gc_writebarrier_remember_promoted(VALUE obj);
|
||||
|
||||
/* hash.c */
|
||||
struct st_table *rb_hash_tbl_raw(VALUE hash);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue