diff options
author | Aaron Patterson <tenderlove@ruby-lang.org> | 2020-09-14 17:45:13 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2020-09-15 09:09:25 -0700 |
commit | 86087a1527ffa52c7b2a3ce6b49ce57ea1b83588 (patch) | |
tree | f3e3d16cf49ba9072be5f9df1b684148acc95db7 /gc.c | |
parent | ee10efdcf028c0455c192acdd8298c42f0be3d87 (diff) |
pointers on the stack need to be pinned
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3544
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4934,7 +4934,7 @@ gc_mark_stack_values(rb_objspace_t *objspace, long n, const VALUE *values) for (i=0; i<n; i++) { if (is_markable_object(objspace, values[i])) { - gc_mark(objspace, values[i]); + gc_mark_and_pin(objspace, values[i]); } } } |