summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2021-06-28 14:44:22 -0400
committerPeter Zhu <peter@peterzhu.ca>2021-06-29 09:28:07 -0400
commit03dc66449326ce0945c1ccad7f51e57125b2b854 (patch)
tree17343250736e77651186f646cf72e1aa63205dca /ruby.c
parent5e75280c8edcd0f3c8f79d0c532cbfd18074886a (diff)
Fix crash on RGENGC_CHECK_MODE=4
When running btest there is a crash when compiled with RGENGC_CHECK_MODE=4. The crash happens because `during_gc` is not turned off before `gc_marks_check` is called, causing the marking to happen on the main mark stack instead of mark stack created in `objspace_allrefs`.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4610
Diffstat (limited to 'ruby.c')
0 files changed, 0 insertions, 0 deletions