diff options
| author | KJ Tsanaktsidis <kj@kjtsanaktsidis.id.au> | 2024-02-28 14:37:25 +1100 |
|---|---|---|
| committer | KJ Tsanaktsidis <kj@kjtsanaktsidis.id.au> | 2024-03-25 14:57:04 +1100 |
| commit | 69579ed57a2aa1c3ad739417db70564d570bf2c1 (patch) | |
| tree | 4856a9a502e301c8b72bf7184e731c32a13b2155 /include/ruby/internal/encoding | |
| parent | 2535a09e85dd68249d9f390db32313ddd482480e (diff) | |
Mark fiber stacks in rb_execution_context_mark
Currently, fiber stacks are marked separately from the rest of the
execution context. The fiber code deliberately does _NOT_ set
ec->machine.stack_end on the saved EC, so that the code in
`rb_execution_context_mark` does not mark it; instead, the stack marking
is done in `cont_mark`.
Instead, we can set ec->machine.stack_end, and skip out on doing the
stack marking separately in `cont_mark`; that way, all machine stack
marking shares the same code (which does the nescessary ASAN things).
[Bug #20310]
Diffstat (limited to 'include/ruby/internal/encoding')
0 files changed, 0 insertions, 0 deletions
