diff options
author | Jean Boussier <byroot@ruby-lang.org> | 2023-02-03 12:59:44 +0100 |
---|---|---|
committer | Jean Boussier <jean.boussier@gmail.com> | 2023-02-03 23:31:23 +0100 |
commit | a8000d06cc718349192acbc8343ba849ba34a67f (patch) | |
tree | 81062f6090e0e7f2970fa5e8a6fc0ce0ac5c2784 /proc.c | |
parent | cc9d96b259f4aca151e532d53060091114b5e39b (diff) |
Mark "method" objects as protected by write barrier
All its reference are set with RB_OBJ_WRITE, so they
can be marked as WB protected.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7237
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1630,7 +1630,7 @@ static const rb_data_type_t method_data_type = { bm_memsize, bm_compact, }, - 0, 0, RUBY_TYPED_FREE_IMMEDIATELY + 0, 0, RUBY_TYPED_FREE_IMMEDIATELY | RUBY_TYPED_WB_PROTECTED }; VALUE |